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.001583/0.001583, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002119/0.002119, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.394/1.394, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2175/0.2175, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.3337, allocations: 62.44 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01434/0.3481, allocations: 13.03 MB / 0.5444 GB, free: 3.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01042/0.3586, allocations: 4.291 MB / 0.5486 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002388/0.361, allocations: 82.41 kB / 0.5487 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006641/0.3677, allocations: 3.705 MB / 0.5523 GB, free: 12.53 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005585/0.3733, allocations: 2.03 MB / 0.5543 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.3754, allocations: 0.811 MB / 0.5551 GB, free: 9.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005597/0.381, allocations: 4.216 MB / 0.5592 GB, free: 5.453 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006/0.387, allocations: 4.842 MB / 0.5639 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002851/0.3899, allocations: 1.85 MB / 0.5657 GB, free: 14.68 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00369/0.3936, allocations: 2.465 MB / 0.5681 GB, free: 12.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001096/0.3947, allocations: 416 kB / 0.5685 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002558/0.3973, allocations: 1.131 MB / 0.5696 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002627/0.3999, allocations: 2.205 MB / 0.5718 GB, free: 8.461 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004039/0.404, allocations: 2.595 MB / 0.5743 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008341/0.4124, allocations: 8.086 MB / 0.5822 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.4124, allocations: 0 / 0.5822 GB, free: 13.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.4124, allocations: 0 / 0.5822 GB, free: 13.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001466/0.4125, allocations: 0 / 0.5822 GB, free: 13.74 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.01983/0.4324, allocations: 6.204 MB / 0.5883 GB, free: 7.465 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000112/0.4325, allocations: 12.03 kB / 0.5883 GB, free: 7.453 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006941/0.4395, allocations: 1.96 MB / 0.5902 GB, free: 5.484 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005499/0.445, allocations: 2.683 MB / 0.5928 GB, free: 2.742 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.4453, allocations: 295.5 kB / 0.5931 GB, free: 2.453 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009301/0.4462, allocations: 387.8 kB / 0.5935 GB, free: 2.074 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02367/0.4699, allocations: 12.21 MB / 0.6054 GB, free: 5.148 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/0.4701, allocations: 51.44 kB / 0.6054 GB, free: 5.098 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001186/0.4713, allocations: 183.8 kB / 0.6056 GB, free: 4.918 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004341/0.4757, allocations: 2.19 MB / 0.6077 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02248/0.4982, allocations: 11.2 MB / 0.6187 GB, free: 7.516 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06151/0.5597, allocations: 45.88 MB / 0.6635 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01902/0.5788, allocations: 5.492 MB / 0.6688 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004524/0.5833, allocations: 3.438 MB / 0.6722 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/0.5844, allocations: 0.6987 MB / 0.6729 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.695e-05/0.5845, allocations: 51.98 kB / 0.6729 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=203): time 5.821e-06/0.5845, allocations: 3.938 kB / 0.6729 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=234): time 0.07985/0.6644, allocations: 27.31 MB / 0.6996 GB, free: 3.105 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.811e-05/0.6645, allocations: 158.5 kB / 0.6998 GB, free: 2.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008495/0.673, allocations: 4.399 MB / 0.7041 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006466/0.6737, allocations: 53.7 kB / 0.7041 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003364/0.6771, allocations: 3.392 MB / 0.7074 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001395/0.6785, allocations: 0.8791 MB / 0.7083 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003333/0.6818, allocations: 1.411 MB / 0.7097 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.682, allocations: 313 kB / 0.7099 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004995/0.687, allocations: 3.277 MB / 0.7131 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2444/0.9313, allocations: 7.078 MB / 0.7201 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.9434, allocations: 11.16 MB / 0.731 GB, free: 151 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001395/0.9436, allocations: 38.5 kB / 0.731 GB, free: 151 MB / 0.5606 GB Notification: Performance of matching and sorting (n=855) (initialization): time 0.01545/0.959, allocations: 11.29 MB / 0.742 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.682e-05/0.9591, allocations: 62.47 kB / 0.7421 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.736e-05/0.9592, allocations: 132.5 kB / 0.7422 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00246/0.9617, allocations: 1.129 MB / 0.7433 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005245/0.967, allocations: 1.688 MB / 0.745 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.9733, allocations: 6.343 MB / 0.7512 GB, free: 142.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004969/0.9783, allocations: 394.8 kB / 0.7515 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006674/0.979, allocations: 443.8 kB / 0.752 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.002903/0.9819, allocations: 2.306 MB / 0.7542 GB, free: 139.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006374/0.9826, allocations: 402 kB / 0.7546 GB, free: 139 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008374/0.991, allocations: 6.185 MB / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.272e-05/0.991, allocations: 15.95 kB / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.991, allocations: 0 / 0.7606 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001903/0.9929, allocations: 0.8865 MB / 0.7615 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005626/0.9935, allocations: 39.39 kB / 0.7615 GB, free: 132.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/0.9956, allocations: 167.8 kB / 0.7617 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004343/0.9961, allocations: 189.6 kB / 0.7619 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009565/1.006, allocations: 6.644 MB / 0.7684 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009148/1.015, allocations: 9.509 MB / 0.7777 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002373/1.017, allocations: 2.576 MB / 0.7802 GB, free: 113.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003624/1.021, allocations: 2.766 MB / 0.7829 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of Backend: time 7.02e-07/1.021, allocations: 0 / 0.7829 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009252/1.03, allocations: 5.603 MB / 0.7883 GB, free: 104.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0147/1.045, allocations: 10.45 MB / 0.7986 GB, free: 94.24 MB / 0.5606 GB Notification: Performance of Templates: time 0.09639/1.141, allocations: 65.72 MB / 0.8627 GB, free: 28.75 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