Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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_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_3.2.3_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_3.2.3_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.001023/0.001023, allocations: 96.94 kB / 16.02 MB, free: 84 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.001123/0.001124, allocations: 177.7 kB / 16.91 MB, free: 6.648 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.648/1.648, allocations: 205.4 MB / 223.1 MB, free: 5.238 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.4118/0.4118, allocations: 43.57 MB / 315 MB, free: 8.867 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.0005092/0.0005092, allocations: 14.66 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1438, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.3207/0.4646, allocations: 64.63 MB / 0.4962 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03421/0.4988, allocations: 12.99 MB / 0.5089 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01692/0.5158, allocations: 282.6 kB / 0.5091 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.5183, allocations: 0.4944 MB / 0.5096 GB, free: 15.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006814/0.5251, allocations: 1.978 MB / 0.5115 GB, free: 14.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.5273, allocations: 0.6235 MB / 0.5121 GB, free: 14.05 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01053/0.5378, allocations: 6.51 MB / 0.5185 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01251/0.5504, allocations: 6.766 MB / 0.5251 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003873/0.5543, allocations: 1.377 MB / 0.5265 GB, free: 8.742 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004718/0.559, allocations: 2.326 MB / 0.5287 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009925/0.56, allocations: 172.2 kB / 0.5289 GB, free: 7.719 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002744/0.5628, allocations: 0.9623 MB / 0.5298 GB, free: 7.266 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0023/0.5651, allocations: 2.032 MB / 0.5318 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003046/0.5682, allocations: 2.416 MB / 0.5342 GB, free: 2.793 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01162/0.5798, allocations: 7.983 MB / 0.542 GB, free: 10.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.5798, allocations: 0 / 0.542 GB, free: 10.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5799, allocations: 0 / 0.542 GB, free: 10.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003283/0.5802, allocations: 0 / 0.542 GB, free: 10.78 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.01924/0.5994, allocations: 5.312 MB / 0.5472 GB, free: 5.395 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/0.5995, allocations: 12.03 kB / 0.5472 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007578/0.6071, allocations: 2.033 MB / 0.5492 GB, free: 3.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006686/0.6138, allocations: 2.784 MB / 0.5519 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002902/0.6141, allocations: 303.9 kB / 0.5522 GB, free: 200 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001306/0.6154, allocations: 411.7 kB / 0.5526 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02537/0.6408, allocations: 12.91 MB / 0.5652 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001422/0.641, allocations: 43.59 kB / 0.5652 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005516/0.6416, allocations: 191.8 kB / 0.5654 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004451/0.646, allocations: 2.378 MB / 0.5677 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/0.67, allocations: 11.83 MB / 0.5793 GB, free: 3.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06871/0.7387, allocations: 48.13 MB / 0.6263 GB, free: 2.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2801/1.019, allocations: 5.717 MB / 0.6319 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004829/1.024, allocations: 3.618 MB / 0.6354 GB, free: 139.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008877/1.025, allocations: 0.6967 MB / 0.6361 GB, free: 138.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/1.025, allocations: 55.66 kB / 0.6361 GB, free: 138.8 MB / 494.1 MB Notification: Performance of pre-optimization done (n=224): time 5.58e-06/1.025, allocations: 0 / 0.6361 GB, free: 138.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=255): time 0.08494/1.11, allocations: 28.52 MB / 0.664 GB, free: 130.6 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/1.11, allocations: 158 kB / 0.6641 GB, free: 130.4 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.123, allocations: 4.523 MB / 0.6685 GB, free: 128.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00106/1.124, allocations: 60.95 kB / 0.6686 GB, free: 128.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00366/1.127, allocations: 3.543 MB / 0.6721 GB, free: 126 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.129, allocations: 0.9546 MB / 0.673 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.131, allocations: 0.5782 MB / 0.6736 GB, free: 125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.214e-05/1.131, allocations: 304.5 kB / 0.6738 GB, free: 124.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005785/1.136, allocations: 3.461 MB / 0.6772 GB, free: 123.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00679/1.143, allocations: 7.399 MB / 0.6844 GB, free: 117.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01192/1.155, allocations: 11.69 MB / 0.6959 GB, free: 107.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.086e-05/1.155, allocations: 44 kB / 0.6959 GB, free: 107.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.01889/1.174, allocations: 11.8 MB / 0.7074 GB, free: 97.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.931e-05/1.174, allocations: 65.59 kB / 0.7075 GB, free: 97.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/1.175, allocations: 136 kB / 0.7076 GB, free: 97.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.177, allocations: 1.123 MB / 0.7087 GB, free: 95.99 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006835/1.184, allocations: 1.782 MB / 0.7105 GB, free: 94.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006676/1.191, allocations: 6.018 MB / 0.7163 GB, free: 88.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00694/1.198, allocations: 416.9 kB / 0.7167 GB, free: 87.65 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.199, allocations: 468.5 kB / 0.7172 GB, free: 87.2 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (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 (857): * Single equations (assignments): 853 * 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.004664/1.204, allocations: 2.43 MB / 0.7196 GB, free: 84.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.205, allocations: 410.7 kB / 0.7199 GB, free: 84.35 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009569/1.214, allocations: 6.575 MB / 0.7264 GB, free: 77.75 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.404e-05/1.214, allocations: 28 kB / 0.7264 GB, free: 77.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2e-05/1.214, allocations: 7.656 kB / 0.7264 GB, free: 77.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.081e-05/1.215, allocations: 15.89 kB / 0.7264 GB, free: 77.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02094/1.235, allocations: 13.78 MB / 0.7399 GB, free: 63.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.729e-05/1.236, allocations: 0 / 0.7399 GB, free: 63.87 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.238, allocations: 0.6006 MB / 0.7405 GB, free: 63.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002356/1.241, allocations: 0.9463 MB / 0.7414 GB, free: 62.32 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003566/1.241, allocations: 95.88 kB / 0.7415 GB, free: 62.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/1.247, allocations: 5.734 MB / 0.7471 GB, free: 56.36 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.247, allocations: 4 kB / 0.7471 GB, free: 56.36 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01461/1.262, allocations: 11.09 MB / 0.7579 GB, free: 45.17 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002637/1.264, allocations: 0.9406 MB / 0.7588 GB, free: 44.21 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007703/1.265, allocations: 47.92 kB / 0.7589 GB, free: 44.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002382/1.268, allocations: 187.8 kB / 0.7591 GB, free: 43.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005028/1.268, allocations: 189.6 kB / 0.7592 GB, free: 43.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/1.268, allocations: 115.8 kB / 0.7593 GB, free: 43.68 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003888/1.272, allocations: 2.839 MB / 0.7621 GB, free: 40.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.272, allocations: 0 / 0.7621 GB, free: 40.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00701/1.279, allocations: 1.266 MB / 0.7634 GB, free: 39.57 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (228): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.0005869/1.28, allocations: 198 kB / 0.7635 GB, free: 39.38 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01132/1.291, allocations: 8.14 MB / 0.7715 GB, free: 31.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.808e-06/1.291, allocations: 192 / 0.7715 GB, free: 31.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003918/1.295, allocations: 3.222 MB / 0.7746 GB, free: 28.03 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006126/1.301, allocations: 498 kB / 0.7751 GB, free: 27.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02378/1.325, allocations: 15.19 MB / 0.7899 GB, free: 12.31 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005614/1.331, allocations: 3.801 MB / 0.7937 GB, free: 8.469 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005941/1.337, allocations: 2.373 MB / 0.796 GB, free: 6.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.338, allocations: 435.1 kB / 0.7964 GB, free: 5.664 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.338, allocations: 0 / 0.7964 GB, free: 5.664 MB / 494.1 MB Notification: Performance of Templates: time 0.3414/1.68, allocations: 55.19 MB / 0.8503 GB, free: 130.3 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches