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.0008328/0.0008331, allocations: 103 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009349/0.0009349, allocations: 185.4 kB / 16.92 MB, free: 6.676 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.636/1.636, allocations: 205.4 MB / 223.1 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4064/0.4064, allocations: 43.57 MB / 315 MB, free: 9.047 MB / 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.0006098/0.0006096, allocations: 12 kB / 384.6 MB, free: 7.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1389, allocations: 58.89 MB / 443.5 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.3109/0.4498, allocations: 48.94 MB / 492.4 MB, free: 18.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03125/0.4812, allocations: 10.29 MB / 0.4909 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01326/0.4945, allocations: 207.6 kB / 0.4911 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.4968, allocations: 430.4 kB / 0.4915 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007867/0.5047, allocations: 1.778 MB / 0.4933 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002143/0.5069, allocations: 0.5228 MB / 0.4938 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0102/0.5171, allocations: 5.503 MB / 0.4991 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00808/0.5253, allocations: 5.215 MB / 0.5042 GB, free: 7.789 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.5277, allocations: 1.124 MB / 0.5053 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.5311, allocations: 1.95 MB / 0.5072 GB, free: 6.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000621/0.5317, allocations: 145.8 kB / 0.5074 GB, free: 6.746 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002202/0.5339, allocations: 0.935 MB / 0.5083 GB, free: 6.504 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002156/0.5361, allocations: 1.709 MB / 0.51 GB, free: 5.988 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.5386, allocations: 2.002 MB / 0.5119 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008408/0.547, allocations: 6.681 MB / 0.5184 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.547, allocations: 0 / 0.5184 GB, free: 1.023 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.547, allocations: 0 / 0.5184 GB, free: 1.023 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002494/0.5473, allocations: 0 / 0.5184 GB, free: 1.023 MB / 382.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.01761/0.5649, allocations: 4.39 MB / 0.5227 GB, free: 14.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.565, allocations: 9.875 kB / 0.5227 GB, free: 14.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007805/0.5728, allocations: 1.937 MB / 0.5246 GB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005292/0.5781, allocations: 2.365 MB / 0.5269 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002014/0.5783, allocations: 238.1 kB / 0.5272 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000927/0.5793, allocations: 323.7 kB / 0.5275 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02118/0.6005, allocations: 10.75 MB / 0.538 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001421/0.6006, allocations: 39.69 kB / 0.538 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006339/0.6013, allocations: 155.8 kB / 0.5381 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/0.6053, allocations: 1.986 MB / 0.5401 GB, free: 12.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02164/0.627, allocations: 9.654 MB / 0.5495 GB, free: 2.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05101/0.678, allocations: 39.23 MB / 0.5878 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01341/0.6915, allocations: 3.943 MB / 0.5917 GB, free: 6.094 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002737/0.6943, allocations: 1.88 MB / 0.5935 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009258/0.6952, allocations: 0.6867 MB / 0.5942 GB, free: 3.406 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.521e-05/0.6953, allocations: 51.59 kB / 0.5942 GB, free: 3.348 MB / 462.1 MB Notification: Performance of pre-optimization done (n=151): time 5.59e-06/0.6953, allocations: 3.938 kB / 0.5942 GB, free: 3.344 MB / 462.1 MB Notification: Performance of matching and sorting (n=157): time 0.04343/0.7387, allocations: 13.94 MB / 0.6078 GB, free: 5.289 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.7388, allocations: 141.5 kB / 0.608 GB, free: 5.117 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005948/0.7448, allocations: 4.074 MB / 0.612 GB, free: 1.016 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004029/0.7452, allocations: 45.7 kB / 0.612 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002172/0.7474, allocations: 3.129 MB / 0.6151 GB, free: 13.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008124/0.7482, allocations: 0.6172 MB / 0.6157 GB, free: 13.17 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006089/0.7488, allocations: 0.4989 MB / 0.6161 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.7489, allocations: 301.1 kB / 0.6164 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003113/0.7521, allocations: 2.112 MB / 0.6185 GB, free: 10.25 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005919/0.758, allocations: 5.815 MB / 0.6242 GB, free: 2.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2822/1.04, allocations: 8.584 MB / 0.6326 GB, free: 131 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.464e-05/1.04, allocations: 39.56 kB / 0.6326 GB, free: 131 MB / 494.1 MB Notification: Performance of matching and sorting (n=761) (initialization): time 0.01682/1.057, allocations: 8.437 MB / 0.6408 GB, free: 130 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/1.057, allocations: 61.53 kB / 0.6409 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001816/1.058, allocations: 129.8 kB / 0.641 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/1.06, allocations: 0.913 MB / 0.6419 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004651/1.065, allocations: 1.381 MB / 0.6433 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005974/1.071, allocations: 4.847 MB / 0.648 GB, free: 127.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005401/1.076, allocations: 320.9 kB / 0.6483 GB, free: 127.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000996/1.077, allocations: 379.3 kB / 0.6487 GB, free: 127.2 MB / 494.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.00416/1.081, allocations: 2.084 MB / 0.6507 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000663/1.082, allocations: 350.6 kB / 0.651 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006125/1.088, allocations: 3.164 MB / 0.6541 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.173e-05/1.088, allocations: 29.09 kB / 0.6541 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.088, allocations: 3.375 kB / 0.6541 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/1.088, allocations: 8.016 kB / 0.6542 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01567/1.104, allocations: 7.981 MB / 0.662 GB, free: 122.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.104, allocations: 5.312 kB / 0.662 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001587/1.106, allocations: 313.9 kB / 0.6623 GB, free: 122.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/1.108, allocations: 0.714 MB / 0.663 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000236/1.108, allocations: 40.34 kB / 0.663 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/1.115, allocations: 4.439 MB / 0.6673 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.571e-06/1.115, allocations: 2 kB / 0.6673 GB, free: 119.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.127, allocations: 5.73 MB / 0.6729 GB, free: 117.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002176/1.129, allocations: 0.6354 MB / 0.6735 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004482/1.13, allocations: 36.33 kB / 0.6736 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/1.131, allocations: 94.3 kB / 0.6737 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.131, allocations: 102 kB / 0.6738 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/1.132, allocations: 54.39 kB / 0.6738 GB, free: 117.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.006343/1.138, allocations: 2.555 MB / 0.6763 GB, free: 116.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.11e-07/1.138, allocations: 0 / 0.6763 GB, free: 116.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008998/1.147, allocations: 0.9612 MB / 0.6773 GB, free: 116.3 MB / 494.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.0005847/1.148, allocations: 163.8 kB / 0.6774 GB, free: 116.2 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.009928/1.158, allocations: 5.026 MB / 0.6823 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/1.158, allocations: 0 / 0.6823 GB, free: 114.4 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002274/1.16, allocations: 1.555 MB / 0.6838 GB, free: 113.8 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003584/1.164, allocations: 419.6 kB / 0.6842 GB, free: 113.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01692/1.18, allocations: 11.15 MB / 0.6951 GB, free: 104.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002943/1.183, allocations: 3.24 MB / 0.6983 GB, free: 101.7 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004435/1.188, allocations: 1.89 MB / 0.7001 GB, free: 100.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006407/1.189, allocations: 269.1 kB / 0.7004 GB, free: 100.2 MB / 494.1 MB Notification: Performance of SimCode: time 1.744e-06/1.189, allocations: 0 / 0.7004 GB, free: 100.2 MB / 494.1 MB Notification: Performance of Templates: time 0.06219/1.251, allocations: 35.39 MB / 0.7349 GB, free: 65.23 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 -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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches