Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.0009213/0.0009213, allocations: 81.97 kB / 22.21 MB, free: 2.285 MB / 18.57 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.00103/0.00103, allocations: 168.7 kB / 25.61 MB, free: 8.879 MB / 18.57 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 0.9236/0.9236, allocations: 177.1 MB / 206.1 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.132/0.132, allocations: 34.25 MB / 296.8 MB, free: 13.93 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.139e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.007773/0.007784, allocations: 12.32 MB / 391.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005378/0.01316, allocations: 4.187 MB / 395.8 MB, free: 6.832 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007734/0.01394, allocations: 91.56 kB / 395.9 MB, free: 6.742 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002932/0.01687, allocations: 3.925 MB / 399.8 MB, free: 2.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.0191, allocations: 2.111 MB / 401.9 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009952/0.0201, allocations: 0.8849 MB / 402.8 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003309/0.02341, allocations: 4.641 MB / 407.5 MB, free: 11.14 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003145/0.02655, allocations: 4.074 MB / 411.5 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002449/0.029, allocations: 2.943 MB / 414.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001931/0.03093, allocations: 2.498 MB / 417 MB, free: 1.539 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003606/0.03129, allocations: 408 kB / 417.4 MB, free: 1.141 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001127/0.03242, allocations: 1.084 MB / 418.5 MB, free: 56 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.03364, allocations: 2.345 MB / 420.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001029/0.03467, allocations: 1.515 MB / 422.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00334/0.03801, allocations: 5.079 MB / 427.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.03802, allocations: 0 / 427.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.03802, allocations: 0 / 427.4 MB, free: 7.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.144e-05/0.03805, allocations: 0 / 427.4 MB, free: 7.086 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.006216/0.04427, allocations: 6.407 MB / 433.8 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.905e-05/0.04429, allocations: 8.031 kB / 433.8 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003416/0.04771, allocations: 1.601 MB / 435.4 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.0507, allocations: 2.189 MB / 437.6 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000199/0.0509, allocations: 295.6 kB / 437.9 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005653/0.05147, allocations: 391.8 kB / 438.3 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006783/0.05825, allocations: 6.138 MB / 444.4 MB, free: 4.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.05835, allocations: 55.55 kB / 444.5 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003004/0.05865, allocations: 179.9 kB / 444.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001461/0.06012, allocations: 1.785 MB / 446.4 MB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004966/0.06508, allocations: 2.704 MB / 449.1 MB, free: 232 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03047/0.09555, allocations: 46.08 MB / 495.2 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1383/0.2338, allocations: 1.622 MB / 496.8 MB, free: 111.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.2345, allocations: 0.4905 MB / 497.3 MB, free: 111.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005508/0.24, allocations: 4.472 MB / 0.49 GB, free: 110.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.24, allocations: 54.39 kB / 0.4901 GB, free: 110.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 3.397e-06/0.24, allocations: 0 / 0.4901 GB, free: 110.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.0124/0.2524, allocations: 5.965 MB / 0.4959 GB, free: 109.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.2524, allocations: 144.5 kB / 0.4961 GB, free: 109.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002622/0.2551, allocations: 3.785 MB / 0.4997 GB, free: 109.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.2551, allocations: 53.08 kB / 0.4998 GB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001153/0.2563, allocations: 3.886 MB / 0.5036 GB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.2566, allocations: 0.6911 MB / 0.5043 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008744/0.2575, allocations: 1.406 MB / 0.5056 GB, free: 104.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.625e-05/0.2575, allocations: 476.8 kB / 0.5061 GB, free: 104.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007723/0.2583, allocations: 0.572 MB / 0.5067 GB, free: 104 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.2604, allocations: 6.646 MB / 0.5131 GB, free: 95.03 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003552/0.264, allocations: 7.934 MB / 0.5209 GB, free: 84.88 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-05/0.264, allocations: 40 kB / 0.5209 GB, free: 84.84 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.004702/0.2687, allocations: 5.132 MB / 0.5259 GB, free: 79.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.2687, allocations: 72.25 kB / 0.526 GB, free: 79.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-05/0.2688, allocations: 144 kB / 0.5261 GB, free: 79.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003558/0.2692, allocations: 255.6 kB / 0.5264 GB, free: 79.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002015/0.2712, allocations: 1.454 MB / 0.5278 GB, free: 77.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001062/0.2723, allocations: 2.14 MB / 0.5299 GB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001967/0.2742, allocations: 283.3 kB / 0.5302 GB, free: 75.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002317/0.2745, allocations: 348 kB / 0.5305 GB, free: 74.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.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 (802): * Single equations (assignments): 798 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009569/0.2754, allocations: 0.6951 MB / 0.5312 GB, free: 74.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.2757, allocations: 393.7 kB / 0.5316 GB, free: 73.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.2768, allocations: 0.9989 MB / 0.5325 GB, free: 72.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/0.2768, allocations: 23.28 kB / 0.5326 GB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2768, allocations: 4 kB / 0.5326 GB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.2768, allocations: 3.984 kB / 0.5326 GB, free: 72.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005223/0.2821, allocations: 5.072 MB / 0.5375 GB, free: 67.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2821, allocations: 8.031 kB / 0.5375 GB, free: 67.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006127/0.2827, allocations: 267.6 kB / 0.5378 GB, free: 67.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002227/0.2829, allocations: 67.58 kB / 0.5378 GB, free: 67.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.283, allocations: 36 kB / 0.5379 GB, free: 67.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008029/0.2838, allocations: 1.877 MB / 0.5397 GB, free: 65.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.2838, allocations: 11.94 kB / 0.5397 GB, free: 65.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0016/0.2854, allocations: 2.2 MB / 0.5419 GB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.2859, allocations: 457.3 kB / 0.5423 GB, free: 62.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/0.2861, allocations: 28 kB / 0.5423 GB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/0.2866, allocations: 36 kB / 0.5424 GB, free: 62.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.2868, allocations: 112.6 kB / 0.5425 GB, free: 62.26 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.2868, allocations: 47.98 kB / 0.5425 GB, free: 62.21 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.2879, allocations: 1.507 MB / 0.544 GB, free: 60.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2879, allocations: 0 / 0.544 GB, free: 60.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003695/0.2916, allocations: 1.031 MB / 0.545 GB, free: 59.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (143): * Single equations (assignments): 139 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003595/0.2919, allocations: 182.8 kB / 0.5452 GB, free: 59.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003298/0.2952, allocations: 2.834 MB / 0.5479 GB, free: 56.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2952, allocations: 4 kB / 0.5479 GB, free: 56.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00053/0.2958, allocations: 0.6447 MB / 0.5486 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001238/0.297, allocations: 433.8 kB / 0.549 GB, free: 55.61 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00792/0.3049, allocations: 8.356 MB / 0.5571 GB, free: 47.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/0.3058, allocations: 1.363 MB / 0.5585 GB, free: 45.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001023/0.3068, allocations: 0.5128 MB / 0.559 GB, free: 45.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000652/0.3074, allocations: 0.5996 MB / 0.5596 GB, free: 44.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3074, allocations: 0 / 0.5596 GB, free: 44.57 MB / 410.7 MB Notification: Performance of Templates: time 0.04071/0.3481, allocations: 31.02 MB / 0.5899 GB, free: 14.02 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.426738617010415]