Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006678/0.006678, allocations: 100.1 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 190.1 kB / 16.78 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.1 MB / 222.6 MB, free: 4.738 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4752/0.4752, allocations: 43.5 MB / 313.5 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.56 kB / 382 MB, free: 8.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1747, allocations: 57.78 MB / 439.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008895/0.1836, allocations: 5.739 MB / 445.5 MB, free: 9.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005581/0.1893, allocations: 2.295 MB / 447.8 MB, free: 6.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001938/0.1913, allocations: 39.75 kB / 447.9 MB, free: 6.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.1925, allocations: 182.6 kB / 448.1 MB, free: 6.547 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1941, allocations: 146.8 kB / 448.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00189/0.196, allocations: 395.4 kB / 448.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002212/0.1982, allocations: 1.04 MB / 449.6 MB, free: 4.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001448/0.1997, allocations: 0.5559 MB / 450.2 MB, free: 4.395 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008728/0.2006, allocations: 318.6 kB / 450.5 MB, free: 4.082 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.2011, allocations: 370 kB / 450.9 MB, free: 3.719 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-05/0.2013, allocations: 56 kB / 450.9 MB, free: 3.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.2016, allocations: 115.9 kB / 451 MB, free: 3.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001991/0.2018, allocations: 167.3 kB / 451.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004479/0.2022, allocations: 433.6 kB / 451.6 MB, free: 2.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.2033, allocations: 1.164 MB / 452.8 MB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.2033, allocations: 0 / 452.8 MB, free: 1.793 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.2033, allocations: 0 / 452.8 MB, free: 1.793 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.2033, allocations: 0 / 452.8 MB, free: 1.793 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001751/0.2051, allocations: 1.131 MB / 453.9 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.2052, allocations: 8.031 kB / 453.9 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001723/0.2053, allocations: 99.72 kB / 454 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2952/0.5005, allocations: 0.566 MB / 454.6 MB, free: 48.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.73e-05/0.5006, allocations: 68.16 kB / 454.6 MB, free: 48.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5008, allocations: 92.69 kB / 454.7 MB, free: 48.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.5025, allocations: 0.8832 MB / 455.6 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.5026, allocations: 15.64 kB / 455.6 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.351e-05/0.5026, allocations: 38.5 kB / 455.7 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.268e-05/0.5027, allocations: 22.72 kB / 455.7 MB, free: 48.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000949/0.5036, allocations: 0.5237 MB / 456.2 MB, free: 48.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.5071, allocations: 3.652 MB / 459.9 MB, free: 46.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.5076, allocations: 217.8 kB / 460.1 MB, free: 46.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.5078, allocations: 104.9 kB / 460.2 MB, free: 46.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/0.5081, allocations: 252.5 kB / 460.4 MB, free: 46.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.5081, allocations: 41.34 kB / 460.5 MB, free: 46.21 MB / 382.1 MB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.5081, allocations: 3.75 kB / 460.5 MB, free: 46.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=35): time 0.002151/0.5103, allocations: 1.293 MB / 461.8 MB, free: 45.34 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.5103, allocations: 58.09 kB / 461.8 MB, free: 45.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.5107, allocations: 402 kB / 462.2 MB, free: 45.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.5107, allocations: 32.33 kB / 462.2 MB, free: 45.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.5109, allocations: 466.5 kB / 462.7 MB, free: 44.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.577e-05/0.511, allocations: 133.8 kB / 462.8 MB, free: 44.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.5111, allocations: 99.48 kB / 462.9 MB, free: 44.53 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.5112, allocations: 359.2 kB / 463.3 MB, free: 44.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.5114, allocations: 119.7 kB / 463.4 MB, free: 44.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.5116, allocations: 306.9 kB / 463.7 MB, free: 43.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004788/0.5121, allocations: 458.6 kB / 464.1 MB, free: 43.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/0.5121, allocations: 3.531 kB / 464.2 MB, free: 43.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0006812/0.5128, allocations: 0.5069 MB / 464.7 MB, free: 43.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.5129, allocations: 8.75 kB / 464.7 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.5129, allocations: 5.875 kB / 464.7 MB, free: 43.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002322/0.5131, allocations: 44.58 kB / 464.7 MB, free: 43.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.5135, allocations: 129 kB / 464.8 MB, free: 43.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003822/0.5139, allocations: 0.5576 MB / 465.4 MB, free: 42.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002221/0.5141, allocations: 19.66 kB / 465.4 MB, free: 42.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.5142, allocations: 28.19 kB / 465.4 MB, free: 42.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000293/0.5145, allocations: 231.5 kB / 465.7 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.886e-05/0.5146, allocations: 49.97 kB / 465.7 MB, free: 42.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.5152, allocations: 330.9 kB / 466 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.5152, allocations: 4.141 kB / 466 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.5152, allocations: 2.781 kB / 466.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.5153, allocations: 0 / 466.1 MB, free: 42.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/0.5167, allocations: 1.053 MB / 467.1 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.5167, allocations: 4.219 kB / 467.1 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.517, allocations: 90.36 kB / 467.2 MB, free: 41.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000117/0.5172, allocations: 27.64 kB / 467.2 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.5172, allocations: 12.23 kB / 467.2 MB, free: 41.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002227/0.5174, allocations: 0.5538 MB / 467.8 MB, free: 41.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5174, allocations: 4.125 kB / 467.8 MB, free: 41.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006306/0.5181, allocations: 0.5555 MB / 468.3 MB, free: 40.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.5182, allocations: 119.7 kB / 468.5 MB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.776e-05/0.5182, allocations: 9.812 kB / 468.5 MB, free: 40.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.5184, allocations: 9.812 kB / 468.5 MB, free: 40.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.995e-05/0.5184, allocations: 34.09 kB / 468.5 MB, free: 40.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.5185, allocations: 17.16 kB / 468.5 MB, free: 40.71 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.5187, allocations: 271.4 kB / 468.8 MB, free: 40.58 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5187, allocations: 0 / 468.8 MB, free: 40.58 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005503/0.5193, allocations: 122 kB / 468.9 MB, free: 40.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001743/0.5195, allocations: 120.8 kB / 469 MB, free: 40.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005477/0.52, allocations: 333.2 kB / 469.4 MB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.52, allocations: 3.188 kB / 469.4 MB, free: 40.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002148/0.5202, allocations: 137.6 kB / 469.5 MB, free: 40.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005053/0.5208, allocations: 72.97 kB / 469.6 MB, free: 40.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.5231, allocations: 2.003 MB / 471.6 MB, free: 38.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5235, allocations: 0.9621 MB / 472.5 MB, free: 38.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000177/0.5237, allocations: 63.48 kB / 472.6 MB, free: 38.13 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.972e-05/0.5238, allocations: 41.77 kB / 472.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5238, allocations: 0 / 472.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of Templates: time 0.008267/0.5321, allocations: 3.944 MB / 476.6 MB, free: 37.8 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.GenerationOfFMUs.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches