Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001443/0.001444, allocations: 116.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001833/0.001833, allocations: 206.8 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2122/0.2122, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 67.89 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3537, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01535/0.3691, allocations: 13.03 MB / 0.5444 GB, free: 3.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009886/0.379, allocations: 4.285 MB / 0.5486 GB, free: 0 / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002773/0.3818, allocations: 79.36 kB / 0.5487 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007221/0.3891, allocations: 3.709 MB / 0.5523 GB, free: 12.58 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005592/0.3947, allocations: 1.968 MB / 0.5542 GB, free: 10.61 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002214/0.3969, allocations: 0.8265 MB / 0.555 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006176/0.4031, allocations: 4.218 MB / 0.5591 GB, free: 5.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005888/0.409, allocations: 4.838 MB / 0.5639 GB, free: 0.6406 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.4124, allocations: 1.846 MB / 0.5657 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003854/0.4163, allocations: 2.473 MB / 0.5681 GB, free: 12.3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.4173, allocations: 412 kB / 0.5685 GB, free: 11.9 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002499/0.4198, allocations: 1.127 MB / 0.5696 GB, free: 10.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002449/0.4223, allocations: 2.205 MB / 0.5717 GB, free: 8.566 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004274/0.4266, allocations: 2.594 MB / 0.5743 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4366, allocations: 8.078 MB / 0.5821 GB, free: 13.85 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4367, allocations: 0 / 0.5821 GB, free: 13.85 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4367, allocations: 0 / 0.5821 GB, free: 13.85 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002564/0.437, allocations: 8 kB / 0.5821 GB, free: 13.84 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02129/0.4583, allocations: 6.196 MB / 0.5882 GB, free: 7.578 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.809e-05/0.4583, allocations: 12.03 kB / 0.5882 GB, free: 7.566 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007389/0.4657, allocations: 1.967 MB / 0.5901 GB, free: 5.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005661/0.4714, allocations: 2.683 MB / 0.5928 GB, free: 2.848 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002511/0.4717, allocations: 295.5 kB / 0.593 GB, free: 2.559 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001359/0.4731, allocations: 387.8 kB / 0.5934 GB, free: 2.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02331/0.4964, allocations: 12.21 MB / 0.6053 GB, free: 5.25 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.4966, allocations: 51.5 kB / 0.6054 GB, free: 5.199 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.4977, allocations: 179.8 kB / 0.6055 GB, free: 5.023 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004375/0.5021, allocations: 2.194 MB / 0.6077 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0232/0.5253, allocations: 11.2 MB / 0.6186 GB, free: 7.617 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06123/0.5866, allocations: 45.89 MB / 0.6634 GB, free: 8.613 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/0.6044, allocations: 5.48 MB / 0.6688 GB, free: 2.98 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004335/0.6088, allocations: 3.432 MB / 0.6721 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000995/0.6098, allocations: 0.6987 MB / 0.6728 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.945e-05/0.6099, allocations: 63.91 kB / 0.6729 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.35e-06/0.6099, allocations: 0 / 0.6729 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.0775/0.6874, allocations: 27.31 MB / 0.6995 GB, free: 3.215 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.6875, allocations: 154.5 kB / 0.6997 GB, free: 3.031 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006548/0.6941, allocations: 4.391 MB / 0.704 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005699/0.6947, allocations: 65.7 kB / 0.704 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002164/0.6968, allocations: 3.381 MB / 0.7073 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/0.698, allocations: 0.883 MB / 0.7082 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002424/0.7004, allocations: 1.418 MB / 0.7096 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.298e-05/0.7005, allocations: 305.1 kB / 0.7099 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004476/0.705, allocations: 3.276 MB / 0.7131 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2499/0.9549, allocations: 7.083 MB / 0.72 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/0.9678, allocations: 11.16 MB / 0.7309 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/0.968, allocations: 39.03 kB / 0.7309 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01627/0.9843, allocations: 11.3 MB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.9844, allocations: 61.16 kB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/0.9845, allocations: 134.2 kB / 0.7422 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00237/0.9869, allocations: 1.123 MB / 0.7433 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005134/0.992, allocations: 1.69 MB / 0.7449 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006293/0.9983, allocations: 6.338 MB / 0.7511 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004572/1.003, allocations: 407.8 kB / 0.7515 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/1.003, allocations: 447.1 kB / 0.7519 GB, free: 141.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (816): * Single equations (assignments): 812 * 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.002839/1.006, allocations: 2.301 MB / 0.7542 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005934/1.007, allocations: 397.9 kB / 0.7545 GB, free: 139.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008168/1.015, allocations: 6.187 MB / 0.7606 GB, free: 132.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.927e-05/1.015, allocations: 11.95 kB / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.75e-06/1.015, allocations: 0 / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.016, allocations: 0.8849 MB / 0.7615 GB, free: 132.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005099/1.017, allocations: 36 kB / 0.7615 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.019, allocations: 167.8 kB / 0.7616 GB, free: 132 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004445/1.019, allocations: 193.1 kB / 0.7618 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008956/1.028, allocations: 6.645 MB / 0.7683 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009186/1.037, allocations: 9.501 MB / 0.7776 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002384/1.04, allocations: 2.584 MB / 0.7801 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00308/1.043, allocations: 2.769 MB / 0.7828 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/1.043, allocations: 0 / 0.7828 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008702/1.052, allocations: 5.601 MB / 0.7883 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01461/1.066, allocations: 10.46 MB / 0.7985 GB, free: 94.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.09988/1.166, allocations: 66.21 MB / 0.8632 GB, free: 28.34 MB / 0.5606 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches