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.001134/0.001134, allocations: 103.8 kB / 16.4 MB, free: 6.43 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.001309/0.001309, allocations: 192.2 kB / 17.34 MB, free: 5.707 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.426/1.426, allocations: 205.1 MB / 223.2 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.2079/0.208, allocations: 43.52 MB / 314.1 MB, free: 456 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.001342/0.001342, allocations: 65.8 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1513, allocations: 57.78 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01396/0.1653, allocations: 11.8 MB / 0.4994 GB, free: 15.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01045/0.1758, allocations: 3.918 MB / 0.5032 GB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002238/0.1781, allocations: 63.88 kB / 0.5033 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005662/0.1838, allocations: 2.706 MB / 0.5059 GB, free: 9.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005927/0.1898, allocations: 1.945 MB / 0.5078 GB, free: 7.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.1931, allocations: 0.6862 MB / 0.5085 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007876/0.201, allocations: 3.757 MB / 0.5122 GB, free: 2.816 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006796/0.2079, allocations: 3.796 MB / 0.5159 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004293/0.2122, allocations: 1.546 MB / 0.5174 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004374/0.2166, allocations: 2.134 MB / 0.5195 GB, free: 11.26 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001839/0.2185, allocations: 348 kB / 0.5198 GB, free: 10.92 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003389/0.2219, allocations: 1.069 MB / 0.5209 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003203/0.2251, allocations: 1.944 MB / 0.5228 GB, free: 7.902 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004664/0.2298, allocations: 2.249 MB / 0.5249 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3114/0.5413, allocations: 7.202 MB / 0.532 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.151e-05/0.5413, allocations: 1.219 kB / 0.532 GB, free: 15.31 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.899e-06/0.5413, allocations: 0.6094 kB / 0.532 GB, free: 15.31 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003866/0.5417, allocations: 0 / 0.532 GB, free: 15.31 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.02521/0.567, allocations: 5.326 MB / 0.5372 GB, free: 13.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.567, allocations: 14.45 kB / 0.5372 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007432/0.5745, allocations: 1.885 MB / 0.539 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/0.5805, allocations: 2.402 MB / 0.5414 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002328/0.5808, allocations: 244.5 kB / 0.5416 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007154/0.5815, allocations: 319.5 kB / 0.5419 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/0.6055, allocations: 10.74 MB / 0.5524 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.6057, allocations: 41.62 kB / 0.5524 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005257/0.6062, allocations: 149.5 kB / 0.5526 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003617/0.6098, allocations: 1.987 MB / 0.5545 GB, free: 9.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02018/0.63, allocations: 9.633 MB / 0.5639 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06105/0.6911, allocations: 39.07 MB / 0.6021 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01399/0.7052, allocations: 3.935 MB / 0.6059 GB, free: 13.4 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003333/0.7085, allocations: 1.895 MB / 0.6078 GB, free: 11.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.7098, allocations: 0.6833 MB / 0.6085 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/0.7099, allocations: 46.75 kB / 0.6085 GB, free: 10.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.54e-06/0.7099, allocations: 0 / 0.6085 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.05011/0.7601, allocations: 13.93 MB / 0.6221 GB, free: 12.65 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.7602, allocations: 149.5 kB / 0.6222 GB, free: 12.47 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0101/0.7703, allocations: 4.076 MB / 0.6262 GB, free: 8.371 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008109/0.7712, allocations: 50.77 kB / 0.6263 GB, free: 8.32 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003198/0.7744, allocations: 3.122 MB / 0.6293 GB, free: 5.211 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001463/0.7759, allocations: 0.6261 MB / 0.6299 GB, free: 4.59 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003664/0.7796, allocations: 1.194 MB / 0.6311 GB, free: 3.383 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7798, allocations: 305.1 kB / 0.6314 GB, free: 3.082 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003637/0.7834, allocations: 2.104 MB / 0.6334 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0077/0.7911, allocations: 5.803 MB / 0.6391 GB, free: 9.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01301/0.8042, allocations: 8.583 MB / 0.6475 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000174/0.8044, allocations: 36 kB / 0.6475 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01865/0.8231, allocations: 8.413 MB / 0.6557 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/0.8233, allocations: 67.94 kB / 0.6558 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002318/0.8235, allocations: 128 kB / 0.6559 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002835/0.8264, allocations: 0.9142 MB / 0.6568 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005487/0.8319, allocations: 1.368 MB / 0.6582 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007975/0.8399, allocations: 5.189 MB / 0.6632 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/0.8453, allocations: 330.7 kB / 0.6635 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001311/0.8467, allocations: 376 kB / 0.6639 GB, free: 14.78 MB / 0.5137 GB 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.005716/0.8524, allocations: 2.091 MB / 0.6659 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/0.8537, allocations: 347.4 kB / 0.6663 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00742/0.8611, allocations: 3.159 MB / 0.6694 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.902e-05/0.8612, allocations: 20 kB / 0.6694 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/0.8613, allocations: 4 kB / 0.6694 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/0.8613, allocations: 3.984 kB / 0.6694 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02043/0.8817, allocations: 7.948 MB / 0.6772 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.356e-05/0.8818, allocations: 7.938 kB / 0.6772 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.8834, allocations: 299.5 kB / 0.6774 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002189/0.8856, allocations: 0.7156 MB / 0.6781 GB, free: 120 kB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002357/0.8858, allocations: 39.97 kB / 0.6782 GB, free: 80 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006411/0.8922, allocations: 4.764 MB / 0.6828 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.8923, allocations: 0 / 0.6828 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009692/0.902, allocations: 5.725 MB / 0.6884 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/0.904, allocations: 0.6272 MB / 0.689 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/0.9051, allocations: 27.84 kB / 0.6891 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/0.9071, allocations: 95.88 kB / 0.6892 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003556/0.9075, allocations: 104.8 kB / 0.6893 GB, free: 4.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.9077, allocations: 54.16 kB / 0.6893 GB, free: 4.512 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005502/0.9132, allocations: 2.558 MB / 0.6918 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9132, allocations: 4 kB / 0.6918 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006804/0.92, allocations: 0.9532 MB / 0.6927 GB, free: 0.9844 MB / 0.5294 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 (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.0006055/0.9206, allocations: 157.4 kB / 0.6929 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009368/0.93, allocations: 5.021 MB / 0.6978 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/0.9301, allocations: 4 kB / 0.6978 GB, free: 11.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002976/0.933, allocations: 1.55 MB / 0.6993 GB, free: 10.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00431/0.9374, allocations: 436.4 kB / 0.6997 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02138/0.9588, allocations: 8.977 MB / 0.7085 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006546/0.9654, allocations: 3.241 MB / 0.7117 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005991/0.9714, allocations: 1.897 MB / 0.7135 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001134/0.9725, allocations: 267.3 kB / 0.7138 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.9726, allocations: 0 / 0.7138 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of Templates: time 0.07436/1.047, allocations: 34.02 MB / 0.747 GB, free: 9.469 MB / 0.5919 GB 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 -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/jenkins/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/jenkins/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