Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.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.001321/0.001321, allocations: 91.33 kB / 20.43 MB, free: 4.141 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.001491/0.001491, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.931/0.931, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.142/0.142, allocations: 32.37 MB / 270.4 MB, free: 14.57 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 347.7 MB, free: 9.438 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.795e-05, allocations: 10.25 kB / 347.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.008922/0.00895, allocations: 12.21 MB / 359.9 MB, free: 13.16 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007366/0.01632, allocations: 3.897 MB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.01841, allocations: 71.75 kB / 363.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.02066, allocations: 1.413 MB / 365.3 MB, free: 7.766 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003714/0.02438, allocations: 1.91 MB / 367.2 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.0254, allocations: 0.526 MB / 367.7 MB, free: 5.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.0293, allocations: 4.009 MB / 371.7 MB, free: 1.301 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002932/0.03223, allocations: 2.192 MB / 373.9 MB, free: 15.07 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003025/0.03525, allocations: 1.948 MB / 375.9 MB, free: 13.12 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002658/0.03791, allocations: 1.944 MB / 377.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007373/0.03865, allocations: 244 kB / 378 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.04018, allocations: 0.9126 MB / 379 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001255/0.04144, allocations: 1.749 MB / 380.7 MB, free: 8.262 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.04297, allocations: 1.039 MB / 381.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004495/0.04746, allocations: 4.186 MB / 385.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.04747, allocations: 0 / 385.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.04747, allocations: 0 / 385.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001187/0.04759, allocations: 3.938 kB / 385.9 MB, free: 3.012 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.006112/0.0537, allocations: 4.722 MB / 390.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.05375, allocations: 8.031 kB / 390.7 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00682/0.06057, allocations: 3.66 MB / 394.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003472/0.06404, allocations: 1.784 MB / 396.1 MB, free: 8.727 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.06415, allocations: 197.2 kB / 396.3 MB, free: 8.531 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005186/0.06467, allocations: 256.1 kB / 396.5 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008565/0.07324, allocations: 5.436 MB / 402 MB, free: 2.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.07331, allocations: 27.7 kB / 402 MB, free: 2.203 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003064/0.07362, allocations: 119.8 kB / 402.1 MB, free: 2.086 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002767/0.07638, allocations: 2.573 MB / 404.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008732/0.08511, allocations: 3.285 MB / 408 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03561/0.1207, allocations: 35.22 MB / 443.2 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003497/0.1242, allocations: 1.483 MB / 444.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000786/0.125, allocations: 492.6 kB / 445.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006711/0.1317, allocations: 4.235 MB / 449.4 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1318, allocations: 46.39 kB / 449.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=166): time 4.428e-06/0.1318, allocations: 0 / 449.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=167): time 0.1838/0.3155, allocations: 4.831 MB / 454.3 MB, free: 97.65 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.3156, allocations: 71.02 kB / 454.4 MB, free: 97.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.3187, allocations: 2.723 MB / 457.1 MB, free: 97.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.467e-05/0.3188, allocations: 47.72 kB / 457.1 MB, free: 97.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001549/0.3203, allocations: 3.131 MB / 460.3 MB, free: 95.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000368/0.3207, allocations: 0.6894 MB / 460.9 MB, free: 94.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000783/0.3215, allocations: 1.115 MB / 462.1 MB, free: 94.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.3216, allocations: 0.5352 MB / 462.6 MB, free: 94.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.3229, allocations: 0.5527 MB / 463.1 MB, free: 94.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/0.3251, allocations: 5.136 MB / 468.3 MB, free: 88.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.3285, allocations: 6.295 MB / 474.6 MB, free: 82.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.077e-05/0.3285, allocations: 30.41 kB / 474.6 MB, free: 82.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=687) (initialization): time 0.005484/0.334, allocations: 4.385 MB / 479 MB, free: 80.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.262e-05/0.334, allocations: 51.17 kB / 479 MB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.134e-05/0.3341, allocations: 118.7 kB / 479.2 MB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.3345, allocations: 177.6 kB / 479.3 MB, free: 80.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.3363, allocations: 1.189 MB / 480.5 MB, free: 79.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009061/0.3373, allocations: 2.012 MB / 482.5 MB, free: 77.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.3395, allocations: 322.1 kB / 482.8 MB, free: 77.28 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002675/0.3398, allocations: 319.4 kB / 483.2 MB, free: 76.97 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (637): * Single equations (assignments): 630 * Array equations: 6 * 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.001214/0.341, allocations: 0.5627 MB / 483.7 MB, free: 76.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003297/0.3414, allocations: 299.5 kB / 484 MB, free: 76.11 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.3426, allocations: 1.079 MB / 485.1 MB, free: 75.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.3427, allocations: 20 kB / 485.1 MB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3427, allocations: 0 / 485.1 MB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.3427, allocations: 11.58 kB / 485.1 MB, free: 75.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006031/0.3487, allocations: 4.596 MB / 489.7 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.3487, allocations: 4.656 kB / 489.7 MB, free: 71.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000524/0.3492, allocations: 256.6 kB / 490 MB, free: 70.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001599/0.3494, allocations: 63.19 kB / 490 MB, free: 70.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.3495, allocations: 30.66 kB / 490.1 MB, free: 70.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006445/0.3501, allocations: 1.801 MB / 491.9 MB, free: 68.89 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3501, allocations: 7.938 kB / 491.9 MB, free: 68.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.352, allocations: 1.72 MB / 493.6 MB, free: 67.17 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000616/0.3526, allocations: 427.9 kB / 494 MB, free: 66.78 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001842/0.3528, allocations: 35.69 kB / 494.1 MB, free: 66.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005205/0.3533, allocations: 132.4 kB / 494.2 MB, free: 66.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3534, allocations: 89.36 kB / 494.3 MB, free: 66.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.254e-05/0.3535, allocations: 52.03 kB / 494.3 MB, free: 66.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001062/0.3545, allocations: 1.156 MB / 495.5 MB, free: 65.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3545, allocations: 0 / 495.5 MB, free: 65.61 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003048/0.3576, allocations: 0.9011 MB / 496.4 MB, free: 64.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 2 (revolute.phi,revolute.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 (120): * Single equations (assignments): 113 * Array equations: 6 * 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.0004159/0.358, allocations: 184.8 kB / 496.6 MB, free: 64.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003181/0.3612, allocations: 2.515 MB / 499.1 MB, free: 62.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.3612, allocations: 4 kB / 499.1 MB, free: 62.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000581/0.3618, allocations: 0.6489 MB / 499.7 MB, free: 61.69 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3628, allocations: 268.8 kB / 500 MB, free: 61.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008455/0.3712, allocations: 7.21 MB / 0.4953 GB, free: 54.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/0.3721, allocations: 1.194 MB / 0.4965 GB, free: 52.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002007/0.3741, allocations: 1.526 MB / 0.498 GB, free: 51.44 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003764/0.3744, allocations: 196.5 kB / 0.4982 GB, free: 51.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.994e-06/0.3745, allocations: 0 / 0.4982 GB, free: 51.25 MB / 378.7 MB Notification: Performance of Templates: time 0.03053/0.405, allocations: 19.97 MB / 0.5177 GB, free: 31.52 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.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.148594397120178]