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.001208/0.001208, allocations: 95.77 kB / 16.99 MB, free: 5.941 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.001348/0.001348, allocations: 182.1 kB / 17.87 MB, free: 5.609 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.444/1.444, allocations: 223.2 MB / 241.8 MB, free: 368 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1973/0.1973, allocations: 44.22 MB / 337.1 MB, free: 2.914 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1359, allocations: 61.93 MB / 471.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3498/0.4858, allocations: 56.16 MB / 0.5153 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02948/0.5153, allocations: 12.92 MB / 0.5279 GB, free: 9.473 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01526/0.5306, allocations: 283.8 kB / 0.5281 GB, free: 9.426 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009686/0.5403, allocations: 2.805 MB / 0.5309 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02698/0.5673, allocations: 8.045 MB / 0.5387 GB, free: 6.379 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003756/0.5711, allocations: 0.6272 MB / 0.5393 GB, free: 6.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.5759, allocations: 2.397 MB / 0.5417 GB, free: 5.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00673/0.5827, allocations: 5.909 MB / 0.5475 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.5846, allocations: 1.159 MB / 0.5486 GB, free: 2.715 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002114/0.5868, allocations: 1.511 MB / 0.5501 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005469/0.5873, allocations: 163.5 kB / 0.5502 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001747/0.5891, allocations: 0.7982 MB / 0.551 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001208/0.5903, allocations: 1.768 MB / 0.5527 GB, free: 44 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00105/0.5914, allocations: 0.9557 MB / 0.5537 GB, free: 15.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.5981, allocations: 6.349 MB / 0.5599 GB, free: 8.906 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5982, allocations: 0 / 0.5599 GB, free: 8.906 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.5982, allocations: 0 / 0.5599 GB, free: 8.906 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002925/0.5985, allocations: 0 / 0.5599 GB, free: 8.906 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01992/0.6184, allocations: 5.392 MB / 0.5651 GB, free: 3.477 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.6185, allocations: 8.031 kB / 0.5651 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008732/0.6272, allocations: 2.304 MB / 0.5674 GB, free: 1.156 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008525/0.6358, allocations: 2.712 MB / 0.57 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004505/0.6363, allocations: 303.1 kB / 0.5703 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.6385, allocations: 390.8 kB / 0.5707 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03864/0.6771, allocations: 12.49 MB / 0.5829 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002053/0.6774, allocations: 51.48 kB / 0.5829 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008149/0.6782, allocations: 187.1 kB / 0.5831 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/0.6825, allocations: 2.255 MB / 0.5853 GB, free: 14.3 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02527/0.7078, allocations: 11.48 MB / 0.5965 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06512/0.773, allocations: 46.48 MB / 0.6419 GB, free: 3.281 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0183/0.7914, allocations: 5.625 MB / 0.6474 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001089/0.7925, allocations: 0.6948 MB / 0.6481 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/0.7926, allocations: 51.88 kB / 0.6481 GB, free: 12.64 MB / 494.1 MB Notification: Performance of pre-optimization done (n=203): time 4.729e-06/0.7926, allocations: 4 kB / 0.6481 GB, free: 12.64 MB / 494.1 MB Notification: Performance of matching and sorting (n=234): time 0.08008/0.8727, allocations: 28.08 MB / 0.6756 GB, free: 372 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00015/0.8729, allocations: 162.5 kB / 0.6757 GB, free: 180 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01179/0.8847, allocations: 4.517 MB / 0.6801 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001222/0.8859, allocations: 65.61 kB / 0.6802 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.004129/0.8901, allocations: 3.431 MB / 0.6836 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001962/0.8921, allocations: 0.8713 MB / 0.6844 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006897/0.8928, allocations: 132 kB / 0.6845 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0005674/0.8934, allocations: 0.5867 MB / 0.6851 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00743/0.9008, allocations: 3.253 MB / 0.6883 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/0.9132, allocations: 7.05 MB / 0.6952 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.9251, allocations: 4.676 MB / 0.6997 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/0.9253, allocations: 40 kB / 0.6998 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of matching and sorting (n=854) (initialization): time 0.3371/1.262, allocations: 11.24 MB / 0.7107 GB, free: 180 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001473/1.263, allocations: 69.91 kB / 0.7108 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002908/1.263, allocations: 134.1 kB / 0.7109 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003571/1.267, allocations: 1.135 MB / 0.7121 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008336/1.275, allocations: 1.701 MB / 0.7137 GB, free: 180 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009643/1.285, allocations: 6.103 MB / 0.7197 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007199/1.292, allocations: 401.4 kB / 0.7201 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002118/1.294, allocations: 450.3 kB / 0.7205 GB, free: 177.4 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 (815): * Single equations (assignments): 811 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005741/1.3, allocations: 2.337 MB / 0.7228 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/1.301, allocations: 399.2 kB / 0.7231 GB, free: 176.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009223/1.31, allocations: 6.205 MB / 0.7292 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.808e-05/1.31, allocations: 30.94 kB / 0.7292 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.574e-05/1.31, allocations: 3.906 kB / 0.7292 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.033e-05/1.31, allocations: 11.11 kB / 0.7292 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02146/1.332, allocations: 13 MB / 0.7419 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/1.332, allocations: 3.875 kB / 0.7419 GB, free: 169.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.334, allocations: 0.5517 MB / 0.7425 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/1.337, allocations: 0.9488 MB / 0.7434 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003698/1.337, allocations: 83.89 kB / 0.7435 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006188/1.343, allocations: 5.84 MB / 0.7492 GB, free: 162.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/1.343, allocations: 7.938 kB / 0.7492 GB, free: 162.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/1.356, allocations: 10.91 MB / 0.7599 GB, free: 151.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003015/1.36, allocations: 0.9135 MB / 0.7608 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009498/1.361, allocations: 40 kB / 0.7608 GB, free: 150.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002776/1.363, allocations: 176.1 kB / 0.761 GB, free: 150.3 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005525/1.364, allocations: 186.7 kB / 0.7611 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000271/1.364, allocations: 111.8 kB / 0.7612 GB, free: 150 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004373/1.369, allocations: 2.852 MB / 0.764 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.71e-07/1.369, allocations: 0 / 0.764 GB, free: 147.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006656/1.375, allocations: 1.221 MB / 0.7652 GB, free: 146 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (208): * Single equations (assignments): 204 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006573/1.376, allocations: 209.8 kB / 0.7654 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01121/1.387, allocations: 7.682 MB / 0.7729 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.28e-05/1.387, allocations: 0 / 0.7729 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004087/1.391, allocations: 3.024 MB / 0.7759 GB, free: 135.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.394, allocations: 457.8 kB / 0.7763 GB, free: 134.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02169/1.416, allocations: 14.01 MB / 0.79 GB, free: 120.6 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/1.42, allocations: 3.767 MB / 0.7937 GB, free: 116.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005664/1.426, allocations: 2.277 MB / 0.7959 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.427, allocations: 411.1 kB / 0.7963 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of SimCode: time 2.175e-06/1.427, allocations: 4 kB / 0.7963 GB, free: 114.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.08798/1.515, allocations: 52.99 MB / 0.848 GB, free: 61.34 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches