Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00117/0.001171, allocations: 198.2 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.28/1.28, allocations: 226.5 MB / 243.4 MB, free: 6.453 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008258/0.0008256, allocations: 101.3 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3025/0.3025, allocations: 44.83 MB / 392.3 MB, free: 35.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.0002411, allocations: 8 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2829, allocations: 62.96 MB / 0.5159 GB, free: 37.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.04147/0.3244, allocations: 59.55 MB / 0.574 GB, free: 10.85 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02943/0.3539, allocations: 12.35 MB / 0.5861 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01428/0.3682, allocations: 279.3 kB / 0.5864 GB, free: 0.6992 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.3786, allocations: 3.104 MB / 0.5894 GB, free: 13.99 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02436/0.403, allocations: 9.054 MB / 0.5982 GB, free: 4.902 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00432/0.4073, allocations: 0.6553 MB / 0.5989 GB, free: 4.246 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006931/0.4143, allocations: 5.098 MB / 0.6039 GB, free: 15.13 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008932/0.4233, allocations: 6.432 MB / 0.6101 GB, free: 8.605 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002643/0.4259, allocations: 1.417 MB / 0.6115 GB, free: 7.184 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00322/0.4292, allocations: 2.173 MB / 0.6136 GB, free: 5.004 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007114/0.4299, allocations: 164 kB / 0.6138 GB, free: 4.844 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.432, allocations: 0.9321 MB / 0.6147 GB, free: 3.91 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001818/0.4338, allocations: 1.905 MB / 0.6166 GB, free: 2 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002287/0.4361, allocations: 2.176 MB / 0.6187 GB, free: 15.8 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005784/0.4419, allocations: 6.34 MB / 0.6249 GB, free: 9.449 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4419, allocations: 0 / 0.6249 GB, free: 9.449 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.57e-05/0.442, allocations: 0 / 0.6249 GB, free: 9.449 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002257/0.4422, allocations: 4 kB / 0.6249 GB, free: 9.445 MB / 442.7 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.0158/0.458, allocations: 5.186 MB / 0.6299 GB, free: 4.191 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4581, allocations: 8.031 kB / 0.63 GB, free: 4.184 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006995/0.4651, allocations: 2.057 MB / 0.632 GB, free: 2.117 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005348/0.4705, allocations: 2.64 MB / 0.6345 GB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002345/0.4707, allocations: 291.6 kB / 0.6348 GB, free: 15.13 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.472, allocations: 395.7 kB / 0.6352 GB, free: 14.75 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02226/0.4942, allocations: 12.38 MB / 0.6473 GB, free: 1.645 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.4944, allocations: 43.59 kB / 0.6473 GB, free: 1.602 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005416/0.4949, allocations: 183.8 kB / 0.6475 GB, free: 1.422 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003866/0.4988, allocations: 2.249 MB / 0.6497 GB, free: 15.17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02264/0.5215, allocations: 11.34 MB / 0.6608 GB, free: 3.809 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2701/0.7916, allocations: 46.48 MB / 0.7062 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.807, allocations: 5.497 MB / 0.7115 GB, free: 102 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.8109, allocations: 3.431 MB / 0.7149 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008814/0.8118, allocations: 0.6998 MB / 0.7156 GB, free: 100.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.8119, allocations: 55.06 kB / 0.7156 GB, free: 100 MB / 490.7 MB Notification: Performance of pre-optimization done (n=203): time 5.08e-06/0.8119, allocations: 0 / 0.7156 GB, free: 100 MB / 490.7 MB Notification: Performance of matching and sorting (n=234): time 0.06676/0.8787, allocations: 27.37 MB / 0.7424 GB, free: 90.76 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.742e-05/0.8788, allocations: 162.5 kB / 0.7425 GB, free: 90.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004987/0.8838, allocations: 4.388 MB / 0.7468 GB, free: 87.23 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004846/0.8843, allocations: 58.56 kB / 0.7469 GB, free: 87.17 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00146/0.8857, allocations: 3.434 MB / 0.7502 GB, free: 83.74 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008205/0.8866, allocations: 0.8807 MB / 0.7511 GB, free: 82.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.8869, allocations: 128 kB / 0.7512 GB, free: 82.74 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002362/0.8871, allocations: 0.579 MB / 0.7518 GB, free: 82.16 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003698/0.8908, allocations: 3.265 MB / 0.7549 GB, free: 78.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004831/0.8957, allocations: 7.1 MB / 0.7619 GB, free: 69.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00986/0.9056, allocations: 11.17 MB / 0.7728 GB, free: 56.84 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.114e-05/0.9057, allocations: 40 kB / 0.7728 GB, free: 56.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=858) (initialization): time 0.01713/0.9228, allocations: 11.28 MB / 0.7838 GB, free: 45.51 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.9229, allocations: 71.97 kB / 0.7839 GB, free: 45.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001355/0.9231, allocations: 132 kB / 0.784 GB, free: 45.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002442/0.9255, allocations: 1.118 MB / 0.7851 GB, free: 44.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005508/0.9311, allocations: 1.696 MB / 0.7868 GB, free: 42.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006447/0.9375, allocations: 6.015 MB / 0.7927 GB, free: 36.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005283/0.9428, allocations: 399.7 kB / 0.793 GB, free: 35.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001247/0.9441, allocations: 439.8 kB / 0.7935 GB, free: 35.52 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004532/0.9487, allocations: 2.345 MB / 0.7957 GB, free: 33.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/0.9497, allocations: 398.8 kB / 0.7961 GB, free: 32.77 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008968/0.9587, allocations: 6.202 MB / 0.8022 GB, free: 26.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.564e-05/0.9588, allocations: 24 kB / 0.8022 GB, free: 26.53 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.167e-05/0.9588, allocations: 4 kB / 0.8022 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.9589, allocations: 7.969 kB / 0.8022 GB, free: 26.52 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/0.9775, allocations: 13.09 MB / 0.815 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.54e-05/0.9776, allocations: 4 kB / 0.815 GB, free: 13.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002588/0.9802, allocations: 0.546 MB / 0.8155 GB, free: 12.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/0.9824, allocations: 0.9473 MB / 0.8165 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003365/0.9828, allocations: 92.27 kB / 0.8165 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005846/0.9886, allocations: 5.728 MB / 0.8221 GB, free: 5.895 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.9887, allocations: 4 kB / 0.8221 GB, free: 5.891 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01343/1.002, allocations: 10.47 MB / 0.8324 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002226/1.004, allocations: 0.9017 MB / 0.8333 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006656/1.005, allocations: 40 kB / 0.8333 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002024/1.007, allocations: 171.8 kB / 0.8335 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004735/1.008, allocations: 193.6 kB / 0.8336 GB, free: 10.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002442/1.008, allocations: 103.9 kB / 0.8337 GB, free: 9.938 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004125/1.012, allocations: 2.75 MB / 0.8364 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.012, allocations: 0 / 0.8364 GB, free: 7.184 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005548/1.018, allocations: 1.206 MB / 0.8376 GB, free: 5.984 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005717/1.018, allocations: 180.2 kB / 0.8378 GB, free: 5.805 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.03, allocations: 7.698 MB / 0.8453 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.03, allocations: 7.938 kB / 0.8453 GB, free: 14.12 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004268/1.034, allocations: 3.028 MB / 0.8483 GB, free: 11.08 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/1.039, allocations: 495.6 kB / 0.8487 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02027/1.059, allocations: 14.49 MB / 0.8629 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003746/1.063, allocations: 3.67 MB / 0.8665 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001923/1.065, allocations: 463.1 kB / 0.8669 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of SimCode: time 7.91e-07/1.065, allocations: 0 / 0.8669 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of Templates: time 0.3391/1.404, allocations: 92.99 MB / 0.9577 GB, free: 140.8 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches