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.0008198/0.0008198, allocations: 96.72 kB / 18.01 MB, free: 5.734 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.0008832/0.0008834, allocations: 179.3 kB / 18.91 MB, free: 4.871 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.31/1.31, allocations: 223.3 MB / 243 MB, free: 14.48 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.203/0.203, allocations: 44.25 MB / 338.3 MB, free: 2.434 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004765, allocations: 8.234 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.1418, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3417/0.4836, allocations: 63.98 MB / 0.5243 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0303/0.5139, allocations: 12.9 MB / 0.5369 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01494/0.5289, allocations: 280.3 kB / 0.5372 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002027/0.5309, allocations: 491.4 kB / 0.5377 GB, free: 6.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005991/0.5369, allocations: 1.903 MB / 0.5395 GB, free: 5.539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001839/0.5388, allocations: 0.6302 MB / 0.5401 GB, free: 5.172 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00731/0.5461, allocations: 6.245 MB / 0.5462 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008969/0.5551, allocations: 6.695 MB / 0.5528 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.558, allocations: 1.312 MB / 0.554 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.5615, allocations: 2.214 MB / 0.5562 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006179/0.5622, allocations: 164 kB / 0.5564 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00219/0.5644, allocations: 0.9591 MB / 0.5573 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.5663, allocations: 1.949 MB / 0.5592 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002692/0.569, allocations: 2.312 MB / 0.5615 GB, free: 6.352 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.5759, allocations: 6.345 MB / 0.5677 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.5759, allocations: 0 / 0.5677 GB, free: 188 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5759, allocations: 4 kB / 0.5677 GB, free: 184 kB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002209/0.5762, allocations: 0 / 0.5677 GB, free: 184 kB / 398.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.01781/0.594, allocations: 5.14 MB / 0.5727 GB, free: 11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.594, allocations: 8.031 kB / 0.5727 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007481/0.6015, allocations: 2.014 MB / 0.5747 GB, free: 8.973 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00562/0.6072, allocations: 2.659 MB / 0.5773 GB, free: 6.285 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002587/0.6075, allocations: 296.1 kB / 0.5775 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.6088, allocations: 394.2 kB / 0.5779 GB, free: 5.688 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02454/0.6334, allocations: 12.41 MB / 0.59 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.6336, allocations: 55.52 kB / 0.5901 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005862/0.6342, allocations: 181.7 kB / 0.5903 GB, free: 8.492 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00442/0.6386, allocations: 2.249 MB / 0.5925 GB, free: 6.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/0.6627, allocations: 11.39 MB / 0.6036 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06505/0.7278, allocations: 46.49 MB / 0.649 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0185/0.7463, allocations: 5.504 MB / 0.6544 GB, free: 5.805 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004611/0.7509, allocations: 3.437 MB / 0.6577 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.7521, allocations: 0.7042 MB / 0.6584 GB, free: 1.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.7522, allocations: 59.8 kB / 0.6585 GB, free: 1.488 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 4.538e-06/0.7522, allocations: 0 / 0.6585 GB, free: 1.488 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.08217/0.8344, allocations: 27.39 MB / 0.6852 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.8345, allocations: 158.5 kB / 0.6853 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007989/0.8425, allocations: 4.415 MB / 0.6897 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006836/0.8432, allocations: 57.7 kB / 0.6897 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002868/0.8461, allocations: 3.427 MB / 0.6931 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001458/0.8476, allocations: 0.8866 MB / 0.6939 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001354/0.849, allocations: 0.5553 MB / 0.6945 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.949e-05/0.8491, allocations: 301.1 kB / 0.6948 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/0.8545, allocations: 3.284 MB / 0.698 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2376/1.092, allocations: 7.119 MB / 0.7049 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/1.107, allocations: 11.21 MB / 0.7159 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.107, allocations: 38.69 kB / 0.7159 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=858) (initialization): time 0.02364/1.131, allocations: 11.34 MB / 0.727 GB, free: 173 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001563/1.131, allocations: 62.12 kB / 0.727 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002477/1.131, allocations: 134 kB / 0.7272 GB, free: 173 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002768/1.134, allocations: 1.118 MB / 0.7282 GB, free: 172.8 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006095/1.14, allocations: 1.708 MB / 0.7299 GB, free: 172.6 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00716/1.148, allocations: 6.009 MB / 0.7358 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005746/1.153, allocations: 411.8 kB / 0.7362 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001385/1.155, allocations: 441.9 kB / 0.7366 GB, free: 169.5 MB / 0.5294 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.004866/1.16, allocations: 2.335 MB / 0.7389 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001175/1.161, allocations: 393.8 kB / 0.7393 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.171, allocations: 6.209 MB / 0.7453 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.601e-05/1.171, allocations: 24 kB / 0.7453 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-05/1.171, allocations: 4 kB / 0.7453 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-05/1.171, allocations: 19.62 kB / 0.7454 GB, free: 164.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0225/1.194, allocations: 13.09 MB / 0.7581 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.342e-05/1.194, allocations: 4 kB / 0.7582 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00277/1.197, allocations: 0.5459 MB / 0.7587 GB, free: 151.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/1.199, allocations: 0.9477 MB / 0.7596 GB, free: 150.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004796/1.2, allocations: 86.62 kB / 0.7597 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006284/1.206, allocations: 5.733 MB / 0.7653 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/1.206, allocations: 6.906 kB / 0.7653 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01346/1.22, allocations: 10.49 MB / 0.7755 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002284/1.222, allocations: 0.9018 MB / 0.7764 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001302/1.223, allocations: 40.62 kB / 0.7765 GB, free: 133 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002856/1.226, allocations: 176.4 kB / 0.7766 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005842/1.227, allocations: 181.6 kB / 0.7768 GB, free: 132.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003242/1.227, allocations: 113 kB / 0.7769 GB, free: 132.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00478/1.232, allocations: 2.774 MB / 0.7796 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/1.232, allocations: 0 / 0.7796 GB, free: 129.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00635/1.238, allocations: 1.204 MB / 0.7808 GB, free: 128.6 MB / 0.5294 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 (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 Backend phase and start with SimCode phase: time 0.0007676/1.239, allocations: 182 kB / 0.781 GB, free: 128.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.25, allocations: 7.736 MB / 0.7885 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/1.25, allocations: 4.125 kB / 0.7885 GB, free: 120.7 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004169/1.254, allocations: 3.017 MB / 0.7915 GB, free: 117.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005896/1.26, allocations: 495.6 kB / 0.7919 GB, free: 117.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02242/1.282, allocations: 15.03 MB / 0.8066 GB, free: 102 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004956/1.287, allocations: 3.67 MB / 0.8102 GB, free: 98.34 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.29, allocations: 459.1 kB / 0.8106 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of SimCode: time 8.91e-07/1.29, allocations: 0 / 0.8106 GB, free: 97.89 MB / 0.5294 GB Notification: Performance of Templates: time 0.3608/1.65, allocations: 92.93 MB / 0.9014 GB, free: 173.6 MB / 0.5294 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