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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002006/0.002006, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 257.5 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2375/0.2375, allocations: 44.94 MB / 358.8 MB, free: 6.051 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 63.91 kB / 0.4935 GB, free: 10.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.306, allocations: 65.47 MB / 0.5575 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.01289/0.3189, allocations: 9.728 MB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008499/0.3274, allocations: 3.645 MB / 0.5705 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.3289, allocations: 75.62 kB / 0.5706 GB, free: 9.969 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005246/0.3341, allocations: 2.605 MB / 0.5731 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.3392, allocations: 1.809 MB / 0.5749 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.3409, allocations: 0.6901 MB / 0.5756 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00518/0.3461, allocations: 3.578 MB / 0.5791 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003738/0.3498, allocations: 2.798 MB / 0.5818 GB, free: 14.4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002729/0.3525, allocations: 1.491 MB / 0.5833 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003414/0.3559, allocations: 2.025 MB / 0.5852 GB, free: 10.87 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000745/0.3567, allocations: 324 kB / 0.5855 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002141/0.3588, allocations: 0.944 MB / 0.5865 GB, free: 9.609 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00213/0.361, allocations: 1.85 MB / 0.5883 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002099/0.3631, allocations: 1.549 MB / 0.5898 GB, free: 6.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.3761, allocations: 6.724 MB / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.3761, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.3761, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003272/0.3765, allocations: 0 / 0.5963 GB, free: 15.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01938/0.3959, allocations: 5.117 MB / 0.6013 GB, free: 10.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.3959, allocations: 8.031 kB / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007179/0.4031, allocations: 1.878 MB / 0.6032 GB, free: 8.383 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005658/0.4087, allocations: 2.205 MB / 0.6053 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.4089, allocations: 221.8 kB / 0.6056 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001005/0.4099, allocations: 307.8 kB / 0.6058 GB, free: 5.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02147/0.4314, allocations: 10.06 MB / 0.6157 GB, free: 10.89 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.4316, allocations: 47.62 kB / 0.6157 GB, free: 10.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004806/0.4321, allocations: 143.9 kB / 0.6159 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003307/0.4354, allocations: 1.802 MB / 0.6176 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01962/0.455, allocations: 9.021 MB / 0.6264 GB, free: 15.86 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.5048, allocations: 34.65 MB / 0.6603 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5179, allocations: 3.149 MB / 0.6633 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/0.5204, allocations: 1.606 MB / 0.6649 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007911/0.5212, allocations: 224.3 kB / 0.6651 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.5213, allocations: 55.14 kB / 0.6652 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=130): time 4.648e-06/0.5213, allocations: 0 / 0.6652 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of matching and sorting (n=136): time 0.04605/0.5673, allocations: 12.95 MB / 0.6778 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001162/0.5674, allocations: 141.2 kB / 0.678 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006188/0.5736, allocations: 3.64 MB / 0.6815 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004659/0.5741, allocations: 45.7 kB / 0.6815 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003015/0.5771, allocations: 3.117 MB / 0.6846 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009668/0.5781, allocations: 0.5622 MB / 0.6851 GB, free: 2.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001782/0.5799, allocations: 1.151 MB / 0.6863 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.58, allocations: 313 kB / 0.6866 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00309/0.5831, allocations: 1.931 MB / 0.6885 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/0.5892, allocations: 5.498 MB / 0.6938 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.5994, allocations: 8.053 MB / 0.7017 GB, free: 13.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001018/0.5995, allocations: 40 kB / 0.7017 GB, free: 13.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=720) (initialization): time 0.016/0.6154, allocations: 7.898 MB / 0.7094 GB, free: 6.008 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.844e-05/0.6155, allocations: 56 kB / 0.7095 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001773/0.6157, allocations: 128 kB / 0.7096 GB, free: 5.828 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/0.6183, allocations: 0.8976 MB / 0.7105 GB, free: 4.93 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004406/0.6227, allocations: 1.287 MB / 0.7117 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00735/0.6301, allocations: 5.016 MB / 0.7166 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004457/0.6345, allocations: 307.8 kB / 0.7169 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009138/0.6354, allocations: 359.9 kB / 0.7173 GB, free: 13.87 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (681): * Single equations (assignments): 677 * 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.003619/0.6391, allocations: 1.967 MB / 0.7192 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008016/0.6399, allocations: 305.9 kB / 0.7195 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005564/0.6454, allocations: 2.735 MB / 0.7222 GB, free: 8.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.156e-05/0.6455, allocations: 19.94 kB / 0.7222 GB, free: 8.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.446e-05/0.6455, allocations: 4 kB / 0.7222 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.6455, allocations: 7.984 kB / 0.7222 GB, free: 8.801 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01309/0.6586, allocations: 6.184 MB / 0.7282 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.6586, allocations: 3.938 kB / 0.7282 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001216/0.6598, allocations: 243.6 kB / 0.7285 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00221/0.662, allocations: 0.7109 MB / 0.7292 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.6622, allocations: 35.97 kB / 0.7292 GB, free: 1.566 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3247/0.9869, allocations: 4.583 MB / 0.7337 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.9869, allocations: 3.938 kB / 0.7337 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006931/0.9938, allocations: 5.092 MB / 0.7386 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/0.9946, allocations: 276.8 kB / 0.7389 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.9949, allocations: 29.06 kB / 0.7389 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.996, allocations: 70.97 kB / 0.739 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002699/0.9962, allocations: 99.62 kB / 0.7391 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.9963, allocations: 46.11 kB / 0.7391 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002621/0.999, allocations: 2.106 MB / 0.7412 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.999, allocations: 0 / 0.7412 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003919/1.003, allocations: 0.8677 MB / 0.7421 GB, free: 151.5 MB / 0.5606 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.0003313/1.003, allocations: 150.1 kB / 0.7422 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005558/1.009, allocations: 4.465 MB / 0.7466 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/1.009, allocations: 0 / 0.7466 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001643/1.01, allocations: 1.285 MB / 0.7478 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001842/1.012, allocations: 361.9 kB / 0.7482 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.023, allocations: 8.462 MB / 0.7564 GB, free: 141.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.026, allocations: 2.516 MB / 0.7589 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003186/1.029, allocations: 1.748 MB / 0.7606 GB, free: 137.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005135/1.03, allocations: 227.3 kB / 0.7608 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/1.03, allocations: 0 / 0.7608 GB, free: 137.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05302/1.083, allocations: 32.21 MB / 0.7923 GB, free: 105.7 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.3863517716526985]