Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001566/0.001567, allocations: 115.7 kB / 17.08 MB, free: 6.004 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.001211/0.001211, allocations: 195 kB / 18.01 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.438/1.438, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2066/0.2066, allocations: 43.52 MB / 314.8 MB, free: 468 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1202, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01485/0.1351, allocations: 13.81 MB / 0.502 GB, free: 13.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01008/0.1452, allocations: 4.369 MB / 0.5063 GB, free: 9.543 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003057/0.1483, allocations: 83.75 kB / 0.5064 GB, free: 9.461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007311/0.1557, allocations: 3.746 MB / 0.51 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006358/0.1621, allocations: 2.116 MB / 0.5121 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002454/0.1646, allocations: 0.8032 MB / 0.5129 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00725/0.1719, allocations: 4.416 MB / 0.5172 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00752/0.1795, allocations: 4.93 MB / 0.522 GB, free: 9.344 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004085/0.1836, allocations: 1.924 MB / 0.5239 GB, free: 7.414 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.1885, allocations: 2.609 MB / 0.5264 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001829/0.1903, allocations: 440 kB / 0.5269 GB, free: 4.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003628/0.194, allocations: 1.159 MB / 0.528 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003685/0.1977, allocations: 2.35 MB / 0.5303 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3119/0.5096, allocations: 2.753 MB / 0.533 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.5232, allocations: 8.618 MB / 0.5414 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.5233, allocations: 3.531 kB / 0.5414 GB, free: 10.58 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.5233, allocations: 0 / 0.5414 GB, free: 10.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003988/0.5237, allocations: 0 / 0.5414 GB, free: 10.58 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.03013/0.5538, allocations: 6.453 MB / 0.5477 GB, free: 8.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5539, allocations: 11.09 kB / 0.5477 GB, free: 8.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009396/0.5633, allocations: 1.988 MB / 0.5497 GB, free: 7.977 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008615/0.5719, allocations: 2.822 MB / 0.5524 GB, free: 7.324 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004931/0.5725, allocations: 312.3 kB / 0.5527 GB, free: 7.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002977/0.5755, allocations: 412 kB / 0.5531 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/0.6094, allocations: 12.89 MB / 0.5657 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003498/0.6098, allocations: 48.17 kB / 0.5657 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002315/0.6121, allocations: 196.9 kB / 0.5659 GB, free: 1.883 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004448/0.6166, allocations: 2.364 MB / 0.5682 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02836/0.645, allocations: 11.82 MB / 0.5798 GB, free: 9.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08087/0.7259, allocations: 47.91 MB / 0.6266 GB, free: 9.078 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01955/0.7455, allocations: 5.701 MB / 0.6321 GB, free: 3.242 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005327/0.7509, allocations: 3.606 MB / 0.6356 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.7521, allocations: 0.7074 MB / 0.6363 GB, free: 14.83 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/0.7522, allocations: 62.72 kB / 0.6364 GB, free: 14.76 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.61e-06/0.7523, allocations: 0 / 0.6364 GB, free: 14.76 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08916/0.8414, allocations: 28.49 MB / 0.6642 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.8416, allocations: 154.5 kB / 0.6644 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009709/0.8513, allocations: 4.528 MB / 0.6688 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001013/0.8523, allocations: 61.7 kB / 0.6688 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003188/0.8556, allocations: 3.532 MB / 0.6723 GB, free: 9.863 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001932/0.8575, allocations: 0.9563 MB / 0.6732 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003215/0.8608, allocations: 1.473 MB / 0.6747 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.8609, allocations: 309.1 kB / 0.675 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005655/0.8665, allocations: 3.449 MB / 0.6783 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009659/0.8762, allocations: 7.395 MB / 0.6855 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0159/0.8922, allocations: 11.66 MB / 0.6969 GB, free: 13.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/0.8924, allocations: 44 kB / 0.697 GB, free: 13.33 MB / 0.545 GB Notification: Performance of matching and sorting (n=896) (initialization): time 0.0257/0.9181, allocations: 11.78 MB / 0.7085 GB, free: 1.914 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.9183, allocations: 64 kB / 0.7085 GB, free: 1.852 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002807/0.9186, allocations: 140 kB / 0.7087 GB, free: 1.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003501/0.9221, allocations: 1.125 MB / 0.7098 GB, free: 0.5859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007405/0.9296, allocations: 1.778 MB / 0.7115 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00934/0.9389, allocations: 6.364 MB / 0.7177 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006817/0.9458, allocations: 411.6 kB / 0.7181 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002174/0.948, allocations: 459 kB / 0.7186 GB, free: 7.453 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.007795/0.9558, allocations: 2.432 MB / 0.7209 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001658/0.9575, allocations: 414.6 kB / 0.7213 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01429/0.9718, allocations: 6.563 MB / 0.7277 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.601e-05/0.9719, allocations: 24 kB / 0.7278 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.482e-05/0.9719, allocations: 4 kB / 0.7278 GB, free: 13.99 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.795e-05/0.972, allocations: 15.95 kB / 0.7278 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03202/1.004, allocations: 13.63 MB / 0.7411 GB, free: 264 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.86e-05/1.004, allocations: 4 kB / 0.7411 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003552/1.008, allocations: 0.5928 MB / 0.7417 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002844/1.011, allocations: 0.953 MB / 0.7426 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008068/1.011, allocations: 91.83 kB / 0.7427 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0084/1.02, allocations: 6.099 MB / 0.7487 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.02, allocations: 11.94 kB / 0.7487 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.265/1.285, allocations: 11.06 MB / 0.7595 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002905/1.288, allocations: 0.9393 MB / 0.7604 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/1.289, allocations: 46.77 kB / 0.7604 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002635/1.292, allocations: 178.9 kB / 0.7606 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005747/1.292, allocations: 198.6 kB / 0.7608 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002849/1.292, allocations: 111.9 kB / 0.7609 GB, free: 207.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00559/1.298, allocations: 2.843 MB / 0.7637 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.51e-07/1.298, allocations: 0.5938 kB / 0.7637 GB, free: 207.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007641/1.306, allocations: 1.266 MB / 0.7649 GB, free: 207.5 MB / 0.5919 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 (228): * Single equations (assignments): 224 * 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.0008318/1.307, allocations: 188.5 kB / 0.7651 GB, free: 207.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.319, allocations: 8.149 MB / 0.773 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/1.319, allocations: 0 / 0.773 GB, free: 205.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.324, allocations: 3.217 MB / 0.7762 GB, free: 204.2 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003903/1.328, allocations: 0.5035 MB / 0.7767 GB, free: 204 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02073/1.348, allocations: 13 MB / 0.7894 GB, free: 198.5 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003667/1.352, allocations: 3.801 MB / 0.7931 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002336/1.354, allocations: 485.9 kB / 0.7935 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of SimCode: time 2.985e-06/1.355, allocations: 0 / 0.7935 GB, free: 196.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.1113/1.466, allocations: 98.86 MB / 0.8901 GB, free: 98.83 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches