Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 104.1 kB / 16.64 MB, free: 6.82 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.00129/0.00129, allocations: 194.5 kB / 17.56 MB, free: 5.945 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.425/1.425, allocations: 205.1 MB / 223.4 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2135/0.2135, allocations: 43.52 MB / 314.3 MB, free: 0.7148 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.001685/0.001685, allocations: 70.19 kB / 382.9 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1044, allocations: 57.79 MB / 440.7 MB, free: 7.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.0581/0.1626, allocations: 66.25 MB / 0.495 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03093/0.1936, allocations: 12.96 MB / 0.5077 GB, free: 7.852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01458/0.2082, allocations: 283.3 kB / 0.508 GB, free: 7.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007046/0.2153, allocations: 3.604 MB / 0.5115 GB, free: 3.961 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007694/0.2231, allocations: 1.962 MB / 0.5134 GB, free: 1.992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.226, allocations: 0.7489 MB / 0.5141 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007102/0.2331, allocations: 4.451 MB / 0.5185 GB, free: 12.78 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006689/0.2398, allocations: 5.226 MB / 0.5236 GB, free: 7.488 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003701/0.2436, allocations: 1.955 MB / 0.5255 GB, free: 5.527 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/0.2479, allocations: 2.866 MB / 0.5283 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001267/0.2492, allocations: 436 kB / 0.5287 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.252, allocations: 1.174 MB / 0.5298 GB, free: 1.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2717/0.5237, allocations: 2.36 MB / 0.5322 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0058/0.5296, allocations: 2.792 MB / 0.5349 GB, free: 9.457 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.5409, allocations: 6.862 MB / 0.5416 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.541, allocations: 2.719 kB / 0.5416 GB, free: 9.066 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.541, allocations: 2.062 kB / 0.5416 GB, free: 9.066 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004093/0.5414, allocations: 0 / 0.5416 GB, free: 9.066 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03098/0.5724, allocations: 6.452 MB / 0.5479 GB, free: 6.809 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.5724, allocations: 9.969 kB / 0.5479 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009375/0.5818, allocations: 1.985 MB / 0.5498 GB, free: 6.465 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008155/0.59, allocations: 2.775 MB / 0.5525 GB, free: 5.816 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.5904, allocations: 309.5 kB / 0.5528 GB, free: 5.801 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002512/0.5929, allocations: 410.1 kB / 0.5532 GB, free: 5.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03037/0.6233, allocations: 12.89 MB / 0.5658 GB, free: 3.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003371/0.6237, allocations: 46.44 kB / 0.5659 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002405/0.6261, allocations: 192.6 kB / 0.5661 GB, free: 3.68 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004666/0.6308, allocations: 2.375 MB / 0.5684 GB, free: 3.125 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/0.6579, allocations: 11.81 MB / 0.5799 GB, free: 14.42 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08092/0.7388, allocations: 48.13 MB / 0.6269 GB, free: 15.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01979/0.7587, allocations: 5.705 MB / 0.6325 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005396/0.7641, allocations: 3.606 MB / 0.636 GB, free: 6.008 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001291/0.7654, allocations: 0.6988 MB / 0.6367 GB, free: 5.211 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.254e-05/0.7655, allocations: 71.44 kB / 0.6367 GB, free: 5.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=224): time 7.023e-06/0.7656, allocations: 0 / 0.6367 GB, free: 5.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=255): time 0.09221/0.8578, allocations: 28.49 MB / 0.6646 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.8579, allocations: 157.9 kB / 0.6647 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01078/0.8687, allocations: 4.514 MB / 0.6691 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001033/0.8698, allocations: 73.64 kB / 0.6692 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003577/0.8734, allocations: 3.533 MB / 0.6726 GB, free: 244 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002018/0.8755, allocations: 0.9579 MB / 0.6736 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005584/0.8811, allocations: 1.474 MB / 0.675 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.8812, allocations: 301.1 kB / 0.6753 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006178/0.8874, allocations: 3.449 MB / 0.6787 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009164/0.8966, allocations: 7.395 MB / 0.6859 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/0.9125, allocations: 11.68 MB / 0.6973 GB, free: 3.742 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001695/0.9127, allocations: 40 kB / 0.6973 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02572/0.9385, allocations: 11.78 MB / 0.7088 GB, free: 8.738 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.9387, allocations: 64 kB / 0.7089 GB, free: 8.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002785/0.939, allocations: 140 kB / 0.709 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003246/0.9423, allocations: 1.122 MB / 0.7101 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007296/0.9496, allocations: 1.787 MB / 0.7119 GB, free: 5.762 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008909/0.9586, allocations: 6.349 MB / 0.7181 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/0.9654, allocations: 415.6 kB / 0.7185 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002027/0.9675, allocations: 463.8 kB / 0.7189 GB, free: 14.49 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * 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): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006903/0.9744, allocations: 2.434 MB / 0.7213 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001542/0.976, allocations: 414.6 kB / 0.7217 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01339/0.9894, allocations: 6.554 MB / 0.7281 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.367e-05/0.9895, allocations: 28 kB / 0.7281 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.9895, allocations: 4 kB / 0.7281 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.722e-05/0.9896, allocations: 11.95 kB / 0.7281 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2441/1.234, allocations: 13.76 MB / 0.7416 GB, free: 231 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.905e-05/1.234, allocations: 7.281 kB / 0.7416 GB, free: 231 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003322/1.237, allocations: 0.5964 MB / 0.7422 GB, free: 231 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002774/1.24, allocations: 0.9487 MB / 0.7431 GB, free: 230.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005385/1.24, allocations: 93.47 kB / 0.7432 GB, free: 230.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006804/1.247, allocations: 6.061 MB / 0.7491 GB, free: 227.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.247, allocations: 5.969 kB / 0.7491 GB, free: 227.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01478/1.262, allocations: 11.05 MB / 0.7599 GB, free: 223.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002657/1.265, allocations: 0.9399 MB / 0.7608 GB, free: 223.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.266, allocations: 39.52 kB / 0.7608 GB, free: 223.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002939/1.269, allocations: 185.9 kB / 0.761 GB, free: 223.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005616/1.27, allocations: 202.9 kB / 0.7612 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002629/1.27, allocations: 107.8 kB / 0.7613 GB, free: 223.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004557/1.274, allocations: 2.842 MB / 0.7641 GB, free: 222.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.31e-07/1.274, allocations: 0 / 0.7641 GB, free: 222.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007524/1.282, allocations: 1.265 MB / 0.7653 GB, free: 221 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * Array equations: 3 * 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): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000827/1.283, allocations: 184.3 kB / 0.7655 GB, free: 220.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01782/1.301, allocations: 10.71 MB / 0.776 GB, free: 211.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/1.301, allocations: 0 / 0.776 GB, free: 211.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.005634/1.306, allocations: 3.218 MB / 0.7791 GB, free: 208.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006711/1.313, allocations: 0.5012 MB / 0.7796 GB, free: 207.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02749/1.341, allocations: 15.59 MB / 0.7948 GB, free: 192.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006358/1.347, allocations: 3.806 MB / 0.7985 GB, free: 188.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002642/1.35, allocations: 483.1 kB / 0.799 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/1.35, allocations: 3.938 kB / 0.799 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.1206/1.47, allocations: 98.09 MB / 0.8948 GB, free: 89.7 MB / 0.5606 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches