Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 114.1 kB / 17.09 MB, free: 5.988 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.001639/0.00164, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.337/1.337, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.1905/0.1905, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 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.001464/0.001464, allocations: 65.45 kB / 442.5 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09406/0.09553, allocations: 57.79 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01179/0.1074, allocations: 11.8 MB / 0.5001 GB, free: 15.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007333/0.1147, allocations: 3.914 MB / 0.5039 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.1163, allocations: 67.81 kB / 0.504 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004838/0.1212, allocations: 2.714 MB / 0.5066 GB, free: 9.199 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004275/0.1255, allocations: 1.883 MB / 0.5084 GB, free: 7.309 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001529/0.1271, allocations: 0.6862 MB / 0.5091 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.004714/0.1318, allocations: 3.761 MB / 0.5128 GB, free: 2.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004436/0.1363, allocations: 3.796 MB / 0.5165 GB, free: 14.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.1385, allocations: 1.55 MB / 0.518 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002975/0.1415, allocations: 2.134 MB / 0.5201 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009971/0.1426, allocations: 344 kB / 0.5204 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00279/0.1454, allocations: 1.077 MB / 0.5215 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002542/0.1479, allocations: 1.936 MB / 0.5234 GB, free: 7.934 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003579/0.1515, allocations: 2.253 MB / 0.5256 GB, free: 5.668 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2197/0.3712, allocations: 7.193 MB / 0.5326 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3713, allocations: 0 / 0.5326 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3713, allocations: 3.844 kB / 0.5326 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001885/0.3715, allocations: 0 / 0.5326 GB, free: 15.23 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0171/0.3886, allocations: 5.329 MB / 0.5378 GB, free: 13.38 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3887, allocations: 14.11 kB / 0.5378 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006601/0.3953, allocations: 1.883 MB / 0.5397 GB, free: 13.09 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004802/0.4001, allocations: 2.397 MB / 0.542 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.4003, allocations: 242.5 kB / 0.5422 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006719/0.4009, allocations: 320.2 kB / 0.5425 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01902/0.42, allocations: 10.74 MB / 0.553 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001137/0.4201, allocations: 46.09 kB / 0.5531 GB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004387/0.4206, allocations: 154.3 kB / 0.5532 GB, free: 10.14 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003058/0.4236, allocations: 1.98 MB / 0.5551 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0169/0.4405, allocations: 9.634 MB / 0.5645 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04862/0.4892, allocations: 39.09 MB / 0.6027 GB, free: 1.426 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01325/0.5025, allocations: 3.932 MB / 0.6066 GB, free: 13.36 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/0.5051, allocations: 1.887 MB / 0.6084 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.5062, allocations: 0.6837 MB / 0.6091 GB, free: 10.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.859e-05/0.5062, allocations: 50.84 kB / 0.6091 GB, free: 10.62 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.11e-06/0.5063, allocations: 4 kB / 0.6091 GB, free: 10.62 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.0469/0.5532, allocations: 13.92 MB / 0.6227 GB, free: 12.61 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.5533, allocations: 143.2 kB / 0.6229 GB, free: 12.45 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00686/0.5601, allocations: 4.08 MB / 0.6268 GB, free: 8.34 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.5604, allocations: 49.61 kB / 0.6269 GB, free: 8.289 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00226/0.5626, allocations: 3.125 MB / 0.6299 GB, free: 5.176 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007284/0.5634, allocations: 0.6233 MB / 0.6305 GB, free: 4.559 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001931/0.5653, allocations: 1.2 MB / 0.6317 GB, free: 3.348 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.081e-05/0.5654, allocations: 301.1 kB / 0.632 GB, free: 3.051 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.5686, allocations: 2.109 MB / 0.6341 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005429/0.574, allocations: 5.803 MB / 0.6397 GB, free: 9.344 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009415/0.5834, allocations: 8.576 MB / 0.6481 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.5836, allocations: 40 kB / 0.6481 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01469/0.5983, allocations: 8.41 MB / 0.6564 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.5984, allocations: 68.66 kB / 0.6564 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/0.5986, allocations: 137.7 kB / 0.6566 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002594/0.6012, allocations: 0.9114 MB / 0.6574 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/0.6059, allocations: 1.368 MB / 0.6588 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007095/0.613, allocations: 5.201 MB / 0.6639 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00449/0.6175, allocations: 319.7 kB / 0.6642 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008846/0.6184, allocations: 379.2 kB / 0.6645 GB, free: 14.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (722): * Single equations (assignments): 718 * 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.004121/0.6226, allocations: 2.088 MB / 0.6666 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008295/0.6234, allocations: 347.4 kB / 0.6669 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006787/0.6302, allocations: 3.163 MB / 0.67 GB, free: 9.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.6302, allocations: 3.984 kB / 0.67 GB, free: 9.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6302, allocations: 4 kB / 0.67 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001388/0.6316, allocations: 0.6214 MB / 0.6706 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007379/0.6324, allocations: 28 kB / 0.6706 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/0.6341, allocations: 91.88 kB / 0.6707 GB, free: 8.41 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003091/0.6344, allocations: 112.7 kB / 0.6708 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00633/0.6407, allocations: 3.634 MB / 0.6744 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006486/0.6472, allocations: 4.998 MB / 0.6792 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001651/0.6489, allocations: 1.276 MB / 0.6805 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004273/0.6532, allocations: 2.554 MB / 0.683 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of Backend: time 5.71e-07/0.6532, allocations: 0 / 0.683 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008272/0.6615, allocations: 4.099 MB / 0.687 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01559/0.6771, allocations: 9.037 MB / 0.6958 GB, free: 14.67 MB / 0.545 GB Notification: Performance of Templates: time 0.08078/0.7579, allocations: 44.76 MB / 0.7395 GB, free: 2.059 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches