Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_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.001157/0.001157, allocations: 108.9 kB / 17.21 MB, free: 6.27 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.001002/0.001002, allocations: 194 kB / 18.12 MB, free: 5.363 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.452/1.452, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2096/0.2096, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 68.61 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1476, allocations: 60.82 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3282/0.4759, allocations: 49.62 MB / 0.506 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02547/0.5014, allocations: 10.25 MB / 0.516 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01206/0.5135, allocations: 212.8 kB / 0.5162 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005798/0.5193, allocations: 2.678 MB / 0.5188 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005271/0.5247, allocations: 1.69 MB / 0.5205 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.5266, allocations: 0.6434 MB / 0.5211 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006628/0.5332, allocations: 5.262 MB / 0.5262 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004561/0.5378, allocations: 3.709 MB / 0.5299 GB, free: 4.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.5402, allocations: 1.314 MB / 0.5312 GB, free: 4.254 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002842/0.543, allocations: 2.156 MB / 0.5333 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001019/0.5441, allocations: 235 kB / 0.5335 GB, free: 3.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003073/0.5472, allocations: 1.032 MB / 0.5345 GB, free: 2.727 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002414/0.5496, allocations: 1.772 MB / 0.5362 GB, free: 1.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003491/0.5531, allocations: 2.06 MB / 0.5382 GB, free: 228 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007339/0.5604, allocations: 6.529 MB / 0.5446 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.5605, allocations: 0 / 0.5446 GB, free: 11.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5605, allocations: 3.984 kB / 0.5446 GB, free: 11.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001686/0.5607, allocations: 0 / 0.5446 GB, free: 11.34 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01983/0.5805, allocations: 5.132 MB / 0.5496 GB, free: 6.238 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.5806, allocations: 11.97 kB / 0.5496 GB, free: 6.227 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006673/0.5873, allocations: 1.859 MB / 0.5514 GB, free: 4.359 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005026/0.5923, allocations: 2.248 MB / 0.5536 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.5925, allocations: 229.1 kB / 0.5539 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006579/0.5932, allocations: 310.9 kB / 0.5542 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01976/0.6129, allocations: 10.23 MB / 0.5641 GB, free: 6.848 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001063/0.6131, allocations: 39.59 kB / 0.5642 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.6135, allocations: 146.6 kB / 0.5643 GB, free: 6.699 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003122/0.6167, allocations: 1.866 MB / 0.5661 GB, free: 4.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01921/0.6359, allocations: 9.187 MB / 0.5751 GB, free: 11.63 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04772/0.6836, allocations: 37.62 MB / 0.6119 GB, free: 5.109 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.6974, allocations: 3.72 MB / 0.6155 GB, free: 1.242 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002839/0.7003, allocations: 1.716 MB / 0.6172 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001003/0.7014, allocations: 0.6741 MB / 0.6178 GB, free: 14.74 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.7014, allocations: 47.06 kB / 0.6179 GB, free: 14.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=130): time 4.068e-06/0.7014, allocations: 0 / 0.6179 GB, free: 14.68 MB / 478.1 MB Notification: Performance of matching and sorting (n=136): time 0.0424/0.7438, allocations: 12.94 MB / 0.6305 GB, free: 1.625 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.744, allocations: 157 kB / 0.6307 GB, free: 1.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005588/0.7496, allocations: 3.967 MB / 0.6345 GB, free: 13.49 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002868/0.7499, allocations: 41.7 kB / 0.6346 GB, free: 13.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002099/0.752, allocations: 3.019 MB / 0.6375 GB, free: 10.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006501/0.7526, allocations: 0.5412 MB / 0.638 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001487/0.7541, allocations: 1.145 MB / 0.6392 GB, free: 8.738 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.7542, allocations: 301.1 kB / 0.6395 GB, free: 8.441 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/0.7569, allocations: 1.943 MB / 0.6414 GB, free: 6.492 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005281/0.7622, allocations: 5.52 MB / 0.6467 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.7725, allocations: 8.089 MB / 0.6546 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-05/0.7726, allocations: 36 kB / 0.6547 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=723) (initialization): time 0.01482/0.7874, allocations: 7.942 MB / 0.6624 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000103/0.7876, allocations: 60.19 kB / 0.6625 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001279/0.7877, allocations: 128 kB / 0.6626 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002502/0.7902, allocations: 0.906 MB / 0.6635 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004221/0.7945, allocations: 1.29 MB / 0.6648 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/0.801, allocations: 4.853 MB / 0.6695 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003927/0.8049, allocations: 306.6 kB / 0.6698 GB, free: 5.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005751/0.8055, allocations: 364.3 kB / 0.6701 GB, free: 5.277 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 582 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (684): * Single equations (assignments): 680 * 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.003031/0.8085, allocations: 1.986 MB / 0.6721 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005905/0.8091, allocations: 331.7 kB / 0.6724 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005098/0.8142, allocations: 2.79 MB / 0.6751 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-05/0.8143, allocations: 23.92 kB / 0.6751 GB, free: 128 kB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.8143, allocations: 4 kB / 0.6751 GB, free: 124 kB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.8143, allocations: 7.984 kB / 0.6752 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.8267, allocations: 7.234 MB / 0.6822 GB, free: 8.832 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/0.8267, allocations: 4 kB / 0.6822 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.8279, allocations: 251.7 kB / 0.6825 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002177/0.8301, allocations: 0.7146 MB / 0.6832 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.8303, allocations: 31.98 kB / 0.6832 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005844/0.8361, allocations: 4.43 MB / 0.6875 GB, free: 3.273 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.8362, allocations: 8.094 kB / 0.6875 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00776/0.8439, allocations: 5.126 MB / 0.6925 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001066/0.845, allocations: 392.6 kB / 0.6929 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/0.8454, allocations: 24 kB / 0.6929 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.8465, allocations: 75.89 kB / 0.693 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002789/0.8468, allocations: 99.66 kB / 0.6931 GB, free: 13.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.847, allocations: 43.98 kB / 0.6931 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004391/0.8514, allocations: 2.489 MB / 0.6956 GB, free: 11 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8514, allocations: 0 / 0.6956 GB, free: 11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00712/0.8585, allocations: 0.8984 MB / 0.6964 GB, free: 10.1 MB / 0.545 GB 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 (104): * Single equations (assignments): 100 * 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.0007056/0.8592, allocations: 145.6 kB / 0.6966 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008858/0.8681, allocations: 4.612 MB / 0.7011 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.8682, allocations: 0 / 0.7011 GB, free: 5.348 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002044/0.8702, allocations: 1.369 MB / 0.7024 GB, free: 3.973 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002906/0.8731, allocations: 409.8 kB / 0.7028 GB, free: 3.574 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2527/1.126, allocations: 10.34 MB / 0.7129 GB, free: 199.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004675/1.131, allocations: 3.112 MB / 0.7159 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005829/1.136, allocations: 1.795 MB / 0.7177 GB, free: 198.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009785/1.137, allocations: 254.6 kB / 0.7179 GB, free: 198.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.352e-06/1.137, allocations: 0 / 0.7179 GB, free: 198.7 MB / 0.545 GB Notification: Performance of Templates: time 0.06385/1.201, allocations: 34.09 MB / 0.7512 GB, free: 180 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches