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.001442/0.001443, allocations: 111 kB / 17.09 MB, free: 6.016 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.001672/0.001672, allocations: 198.2 kB / 18.02 MB, free: 5.094 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.282/1.282, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.222/0.222, allocations: 43.53 MB / 314.8 MB, free: 468 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.001369/0.001369, allocations: 75.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1137, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01446/0.1282, allocations: 13.81 MB / 0.502 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01032/0.1386, allocations: 4.369 MB / 0.5063 GB, free: 9.539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.1413, allocations: 83.75 kB / 0.5064 GB, free: 9.457 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007112/0.1485, allocations: 3.746 MB / 0.51 GB, free: 5.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005806/0.1543, allocations: 2.116 MB / 0.5121 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001968/0.1563, allocations: 0.8071 MB / 0.5129 GB, free: 2.766 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00604/0.1624, allocations: 4.416 MB / 0.5172 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005292/0.1677, allocations: 4.93 MB / 0.522 GB, free: 9.336 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.1708, allocations: 1.928 MB / 0.5239 GB, free: 7.402 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00339/0.1742, allocations: 2.605 MB / 0.5265 GB, free: 4.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008322/0.175, allocations: 440 kB / 0.5269 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1771, allocations: 1.159 MB / 0.528 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001866/0.179, allocations: 2.35 MB / 0.5303 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2664/0.4455, allocations: 2.76 MB / 0.533 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.4575, allocations: 8.61 MB / 0.5414 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.4575, allocations: 1.562 kB / 0.5414 GB, free: 10.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4575, allocations: 0.8438 kB / 0.5414 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000314/0.4579, allocations: 1.781 kB / 0.5414 GB, free: 10.54 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.02545/0.4833, allocations: 6.454 MB / 0.5477 GB, free: 8.27 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.4834, allocations: 9.625 kB / 0.5477 GB, free: 8.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007541/0.4909, allocations: 1.99 MB / 0.5497 GB, free: 7.926 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006203/0.4972, allocations: 2.821 MB / 0.5524 GB, free: 7.277 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000288/0.4975, allocations: 309.7 kB / 0.5527 GB, free: 7.262 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001208/0.4987, allocations: 412.5 kB / 0.5531 GB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02669/0.5254, allocations: 12.89 MB / 0.5657 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5256, allocations: 45.53 kB / 0.5657 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006526/0.5263, allocations: 192.5 kB / 0.5659 GB, free: 1.887 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003819/0.5301, allocations: 2.368 MB / 0.5682 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02363/0.5537, allocations: 11.81 MB / 0.5798 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06828/0.6221, allocations: 47.9 MB / 0.6266 GB, free: 9.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01866/0.6408, allocations: 5.717 MB / 0.6321 GB, free: 3.227 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/0.6456, allocations: 3.607 MB / 0.6357 GB, free: 15.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001013/0.6466, allocations: 0.7071 MB / 0.6363 GB, free: 14.81 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.6467, allocations: 59.81 kB / 0.6364 GB, free: 14.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.149e-06/0.6467, allocations: 0 / 0.6364 GB, free: 14.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08307/0.7298, allocations: 28.48 MB / 0.6642 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.625e-05/0.7299, allocations: 157.9 kB / 0.6644 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00861/0.7385, allocations: 4.518 MB / 0.6688 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000516/0.739, allocations: 65.7 kB / 0.6688 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003148/0.7422, allocations: 3.539 MB / 0.6723 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001372/0.7436, allocations: 0.9534 MB / 0.6732 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003283/0.7469, allocations: 1.473 MB / 0.6747 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001051/0.747, allocations: 305.1 kB / 0.675 GB, free: 7.117 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005203/0.7522, allocations: 3.445 MB / 0.6783 GB, free: 3.668 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007807/0.76, allocations: 7.397 MB / 0.6856 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/0.7733, allocations: 11.67 MB / 0.6969 GB, free: 13.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.7735, allocations: 40 kB / 0.697 GB, free: 13.32 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01997/0.7934, allocations: 11.79 MB / 0.7085 GB, free: 1.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7936, allocations: 67.98 kB / 0.7086 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/0.7938, allocations: 136 kB / 0.7087 GB, free: 1.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002784/0.7966, allocations: 1.13 MB / 0.7098 GB, free: 0.5742 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006542/0.8032, allocations: 1.774 MB / 0.7115 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008294/0.8115, allocations: 6.352 MB / 0.7177 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006338/0.8178, allocations: 422.9 kB / 0.7181 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/0.8193, allocations: 455.8 kB / 0.7186 GB, free: 7.449 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.005433/0.8248, allocations: 2.428 MB / 0.7209 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001135/0.8259, allocations: 414.6 kB / 0.7213 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01159/0.8375, allocations: 6.555 MB / 0.7277 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/0.8376, allocations: 15.89 kB / 0.7277 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.8376, allocations: 0 / 0.7277 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/0.8397, allocations: 0.9366 MB / 0.7287 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001022/0.8407, allocations: 51.94 kB / 0.7287 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002515/0.8432, allocations: 179.7 kB / 0.7289 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005134/0.8438, allocations: 193.7 kB / 0.7291 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01248/0.8562, allocations: 6.997 MB / 0.7359 GB, free: 5.668 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01309/0.8694, allocations: 10.09 MB / 0.7458 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00341/0.8728, allocations: 2.748 MB / 0.7484 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.006153/0.879, allocations: 2.847 MB / 0.7512 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of Backend: time 6.91e-07/0.879, allocations: 0 / 0.7512 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01261/0.8916, allocations: 5.872 MB / 0.7569 GB, free: 80 kB / 0.5919 GB Notification: Performance of SimCode: time 0.2509/1.142, allocations: 10.94 MB / 0.7676 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.1124/1.255, allocations: 69.52 MB / 0.8355 GB, free: 159.4 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches