Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001178/0.001178, allocations: 110.7 kB / 18.45 MB, free: 4.617 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.001164/0.001164, allocations: 187.1 kB / 19.39 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2086/0.2086, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 59.91 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3901, allocations: 60.83 MB / 0.5196 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01395/0.4041, allocations: 13.15 MB / 0.5324 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.4168, allocations: 4.267 MB / 0.5366 GB, free: 7.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00343/0.4203, allocations: 84.38 kB / 0.5367 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007731/0.4281, allocations: 3.724 MB / 0.5403 GB, free: 4.531 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006174/0.4343, allocations: 2.078 MB / 0.5423 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002394/0.4367, allocations: 0.806 MB / 0.5431 GB, free: 2.484 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006833/0.4436, allocations: 4.228 MB / 0.5473 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006785/0.4504, allocations: 4.86 MB / 0.552 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003957/0.4544, allocations: 1.865 MB / 0.5538 GB, free: 9.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004729/0.4591, allocations: 2.492 MB / 0.5563 GB, free: 6.516 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001433/0.4606, allocations: 416 kB / 0.5567 GB, free: 6.109 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003188/0.4638, allocations: 1.151 MB / 0.5578 GB, free: 4.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002992/0.4668, allocations: 2.252 MB / 0.56 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005004/0.4718, allocations: 2.653 MB / 0.5626 GB, free: 32 kB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01139/0.4832, allocations: 8.237 MB / 0.5706 GB, free: 7.766 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.4833, allocations: 0 / 0.5706 GB, free: 7.766 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4833, allocations: 0 / 0.5706 GB, free: 7.766 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003618/0.4837, allocations: 0 / 0.5706 GB, free: 7.766 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02365/0.5073, allocations: 6.239 MB / 0.5767 GB, free: 1.457 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.53e-05/0.5074, allocations: 8.031 kB / 0.5767 GB, free: 1.449 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008643/0.516, allocations: 1.956 MB / 0.5786 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008755/0.5248, allocations: 2.722 MB / 0.5813 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/0.5253, allocations: 295.6 kB / 0.5816 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002159/0.5275, allocations: 399.7 kB / 0.5819 GB, free: 12.02 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02832/0.5558, allocations: 12.38 MB / 0.594 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000305/0.5562, allocations: 47.5 kB / 0.5941 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001457/0.5577, allocations: 183.8 kB / 0.5943 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00466/0.5623, allocations: 2.265 MB / 0.5965 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02496/0.5873, allocations: 11.36 MB / 0.6076 GB, free: 1.059 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08194/0.6693, allocations: 46.28 MB / 0.6528 GB, free: 1.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01934/0.6887, allocations: 5.485 MB / 0.6581 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004874/0.6936, allocations: 3.447 MB / 0.6615 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/0.6947, allocations: 0.6948 MB / 0.6622 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.713e-05/0.6948, allocations: 55.86 kB / 0.6622 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=203): time 5.761e-06/0.6948, allocations: 0 / 0.6622 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of matching and sorting (n=234): time 0.08129/0.7761, allocations: 27.34 MB / 0.6889 GB, free: 12.19 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.7763, allocations: 150.5 kB / 0.6891 GB, free: 12.01 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009079/0.7854, allocations: 4.415 MB / 0.6934 GB, free: 7.574 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007801/0.7862, allocations: 69.62 kB / 0.6934 GB, free: 7.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003418/0.7897, allocations: 3.423 MB / 0.6968 GB, free: 4.027 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001545/0.7912, allocations: 0.8791 MB / 0.6976 GB, free: 3.137 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003904/0.7951, allocations: 1.422 MB / 0.699 GB, free: 1.703 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.7953, allocations: 301.1 kB / 0.6993 GB, free: 1.406 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005682/0.801, allocations: 3.284 MB / 0.7025 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00966/0.8107, allocations: 7.108 MB / 0.7095 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2964/1.107, allocations: 11.18 MB / 0.7204 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001374/1.107, allocations: 38.12 kB / 0.7204 GB, free: 158.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02254/1.13, allocations: 11.31 MB / 0.7315 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.13, allocations: 61.69 kB / 0.7315 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002275/1.13, allocations: 135.2 kB / 0.7317 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002804/1.133, allocations: 1.121 MB / 0.7328 GB, free: 154.9 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005781/1.139, allocations: 1.695 MB / 0.7344 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006864/1.146, allocations: 6.347 MB / 0.7406 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/1.151, allocations: 409.2 kB / 0.741 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000876/1.152, allocations: 442.7 kB / 0.7414 GB, free: 151.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 613 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.arrowLine.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 (819): * Single equations (assignments): 815 * 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.003932/1.156, allocations: 2.335 MB / 0.7437 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008074/1.157, allocations: 395.5 kB / 0.7441 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009042/1.166, allocations: 6.195 MB / 0.7501 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.912e-05/1.166, allocations: 11.95 kB / 0.7501 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/1.166, allocations: 4 kB / 0.7501 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/1.168, allocations: 0.8801 MB / 0.751 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000638/1.169, allocations: 38.72 kB / 0.751 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002239/1.171, allocations: 167.8 kB / 0.7512 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/1.171, allocations: 185.6 kB / 0.7514 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009734/1.181, allocations: 6.647 MB / 0.7579 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009579/1.191, allocations: 9.52 MB / 0.7672 GB, free: 130.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002436/1.193, allocations: 2.573 MB / 0.7697 GB, free: 128.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004055/1.197, allocations: 2.774 MB / 0.7724 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of Backend: time 6.51e-07/1.197, allocations: 6.953 kB / 0.7724 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009776/1.207, allocations: 5.609 MB / 0.7779 GB, free: 119.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01321/1.22, allocations: 10.56 MB / 0.7882 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.1027/1.323, allocations: 66.06 MB / 0.8527 GB, free: 43.45 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches