Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 104.2 kB / 17.03 MB, free: 6.129 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.001231/0.001231, allocations: 196.1 kB / 17.96 MB, free: 5.215 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.476/1.476, allocations: 205.1 MB / 223.8 MB, free: 12.25 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.2267/0.2267, allocations: 43.52 MB / 314.7 MB, free: 472 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.001619/0.001619, allocations: 66.3 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1201, allocations: 57.79 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01361/0.1338, allocations: 11.79 MB / 453.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009349/0.1432, allocations: 3.918 MB / 457.7 MB, free: 6.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001586/0.1448, allocations: 71.81 kB / 457.7 MB, free: 6.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00465/0.1495, allocations: 2.71 MB / 460.5 MB, free: 3.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003948/0.1535, allocations: 1.875 MB / 462.3 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1548, allocations: 0.694 MB / 463 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004734/0.1595, allocations: 3.758 MB / 466.8 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00519/0.1647, allocations: 3.793 MB / 470.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002627/0.1674, allocations: 1.55 MB / 472.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00308/0.1705, allocations: 2.134 MB / 474.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009598/0.1715, allocations: 348 kB / 474.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.1738, allocations: 1.069 MB / 475.7 MB, free: 4.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001894/0.1757, allocations: 1.913 MB / 477.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.1784, allocations: 2.264 MB / 479.8 MB, free: 64 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007742/0.1862, allocations: 7.198 MB / 487 MB, free: 8.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.1862, allocations: 0 / 487 MB, free: 8.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1863, allocations: 3.938 kB / 487 MB, free: 8.836 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002002/0.1865, allocations: 0 / 487 MB, free: 8.836 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01813/0.2046, allocations: 5.333 MB / 492.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.2047, allocations: 11.89 kB / 492.4 MB, free: 3.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006576/0.2113, allocations: 1.89 MB / 494.3 MB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005871/0.2172, allocations: 2.393 MB / 496.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.2174, allocations: 234.1 kB / 496.9 MB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000775/0.2181, allocations: 323.7 kB / 497.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0195/0.2377, allocations: 10.74 MB / 0.496 GB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001717/0.2379, allocations: 43.69 kB / 0.4961 GB, free: 3.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005145/0.2384, allocations: 151.8 kB / 0.4962 GB, free: 2.941 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003337/0.2418, allocations: 1.982 MB / 0.4982 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.2607, allocations: 9.645 MB / 0.5076 GB, free: 7.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3253/0.586, allocations: 39.07 MB / 0.5457 GB, free: 60.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01463/0.6007, allocations: 3.94 MB / 0.5496 GB, free: 59.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003252/0.604, allocations: 1.884 MB / 0.5514 GB, free: 59.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/0.6051, allocations: 0.6746 MB / 0.5521 GB, free: 59.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.964e-05/0.6052, allocations: 53.47 kB / 0.5521 GB, free: 58.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=151): time 5.861e-06/0.6052, allocations: 0 / 0.5521 GB, free: 58.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=157): time 0.04057/0.6458, allocations: 13.93 MB / 0.5657 GB, free: 54.15 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.6459, allocations: 151.4 kB / 0.5659 GB, free: 53.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004542/0.6504, allocations: 4.07 MB / 0.5699 GB, free: 51.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/0.6508, allocations: 51.7 kB / 0.5699 GB, free: 51.81 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001435/0.6522, allocations: 3.122 MB / 0.573 GB, free: 49.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005732/0.6528, allocations: 0.6216 MB / 0.5736 GB, free: 48.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001196/0.654, allocations: 1.195 MB / 0.5747 GB, free: 47.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.6541, allocations: 301.1 kB / 0.575 GB, free: 47.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.6565, allocations: 2.11 MB / 0.5771 GB, free: 45.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00358/0.6601, allocations: 5.808 MB / 0.5828 GB, free: 38.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006945/0.6671, allocations: 8.586 MB / 0.5911 GB, free: 27.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-05/0.6672, allocations: 36 kB / 0.5912 GB, free: 27.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01335/0.6805, allocations: 8.416 MB / 0.5994 GB, free: 19.51 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.6807, allocations: 63.94 kB / 0.5995 GB, free: 19.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002093/0.6809, allocations: 136 kB / 0.5996 GB, free: 19.31 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.6833, allocations: 0.9107 MB / 0.6005 GB, free: 18.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004433/0.6877, allocations: 1.372 MB / 0.6018 GB, free: 17.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00591/0.6937, allocations: 5.182 MB / 0.6069 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.6986, allocations: 327.6 kB / 0.6072 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009444/0.6995, allocations: 376 kB / 0.6075 GB, free: 11.02 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (722): * Single equations (assignments): 718 * 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.0038/0.7033, allocations: 2.09 MB / 0.6096 GB, free: 8.934 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008292/0.7042, allocations: 347.4 kB / 0.6099 GB, free: 8.59 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/0.7098, allocations: 3.167 MB / 0.613 GB, free: 5.395 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/0.7099, allocations: 21.77 kB / 0.613 GB, free: 5.375 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/0.7099, allocations: 4 kB / 0.613 GB, free: 5.371 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.262e-05/0.7099, allocations: 3.984 kB / 0.613 GB, free: 5.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01734/0.7273, allocations: 7.933 MB / 0.6208 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.7273, allocations: 3.938 kB / 0.6208 GB, free: 13.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.7289, allocations: 299.5 kB / 0.6211 GB, free: 13.11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002104/0.731, allocations: 0.7109 MB / 0.6218 GB, free: 12.39 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002336/0.7312, allocations: 43.91 kB / 0.6218 GB, free: 12.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006139/0.7374, allocations: 4.769 MB / 0.6265 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.7374, allocations: 0 / 0.6265 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009207/0.7466, allocations: 5.733 MB / 0.6321 GB, free: 1.691 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/0.7489, allocations: 0.6292 MB / 0.6327 GB, free: 1.039 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001042/0.75, allocations: 20 kB / 0.6327 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002113/0.7521, allocations: 95.88 kB / 0.6328 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003578/0.7525, allocations: 96.8 kB / 0.6329 GB, free: 0.832 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/0.7527, allocations: 55.97 kB / 0.6329 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.005601/0.7583, allocations: 2.558 MB / 0.6354 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.21e-07/0.7583, allocations: 0 / 0.6354 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.006657/0.765, allocations: 0.9584 MB / 0.6364 GB, free: 13.25 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (126): * Single equations (assignments): 122 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006932/0.7657, allocations: 157.4 kB / 0.6365 GB, free: 13.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009538/0.7753, allocations: 5.027 MB / 0.6414 GB, free: 8.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.7753, allocations: 0.875 kB / 0.6414 GB, free: 8.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002793/0.7781, allocations: 1.557 MB / 0.6429 GB, free: 6.523 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004165/0.7823, allocations: 443 kB / 0.6434 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01893/0.8013, allocations: 8.98 MB / 0.6521 GB, free: 13.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005758/0.8071, allocations: 3.246 MB / 0.6553 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00496/0.812, allocations: 1.885 MB / 0.6572 GB, free: 7.953 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009465/0.813, allocations: 275.3 kB / 0.6574 GB, free: 7.684 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.813, allocations: 3.938 kB / 0.6574 GB, free: 7.68 MB / 462.1 MB Notification: Performance of Templates: time 0.06695/0.88, allocations: 32.03 MB / 0.6887 GB, free: 7.828 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches