Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009797/0.0009797, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.071/1.071, allocations: 177 MB / 205.1 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3506/0.3506, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.326e-06/3.326e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.344e-05/4.677e-05, allocations: 6.25 kB / 379.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01713/0.01718, allocations: 14.02 MB / 393.3 MB, free: 3.738 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009609/0.02679, allocations: 4.306 MB / 397.6 MB, free: 15.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002501/0.02929, allocations: 91.62 kB / 397.6 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003322/0.03261, allocations: 2.355 MB / 400 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004112/0.03672, allocations: 2.135 MB / 402.1 MB, free: 10.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001304/0.03803, allocations: 0.6743 MB / 402.8 MB, free: 10.15 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005249/0.04328, allocations: 4.678 MB / 407.5 MB, free: 5.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003343/0.04662, allocations: 3.024 MB / 410.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003858/0.05048, allocations: 2.569 MB / 413.1 MB, free: 15.81 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003054/0.05353, allocations: 2.299 MB / 415.4 MB, free: 13.51 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005643/0.05409, allocations: 332 kB / 415.7 MB, free: 13.18 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001663/0.05576, allocations: 0.9985 MB / 416.7 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.05729, allocations: 2.08 MB / 418.8 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.05891, allocations: 1.289 MB / 420.1 MB, free: 8.805 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.06462, allocations: 4.88 MB / 425 MB, free: 3.906 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.06462, allocations: 4 kB / 425 MB, free: 3.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.06463, allocations: 8 kB / 425 MB, free: 3.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001877/0.06481, allocations: 0 / 425 MB, free: 3.895 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.007806/0.07262, allocations: 5.417 MB / 430.4 MB, free: 14.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/0.07268, allocations: 8.031 kB / 430.4 MB, free: 14.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00482/0.0775, allocations: 2.023 MB / 432.4 MB, free: 12.37 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002928/0.08043, allocations: 1.954 MB / 434.4 MB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001374/0.08057, allocations: 250.6 kB / 434.6 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000511/0.08108, allocations: 332.1 kB / 434.9 MB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008407/0.08948, allocations: 5.749 MB / 440.7 MB, free: 3.344 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.631e-05/0.08957, allocations: 31.7 kB / 440.7 MB, free: 3.312 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003188/0.08989, allocations: 155.8 kB / 440.9 MB, free: 3.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002246/0.09214, allocations: 2.454 MB / 443.3 MB, free: 0.7031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1831/0.2752, allocations: 2.916 MB / 446.2 MB, free: 88.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03473/0.3099, allocations: 40.09 MB / 486.3 MB, free: 60.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/0.3133, allocations: 1.528 MB / 487.9 MB, free: 60.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005676/0.3138, allocations: 461.3 kB / 488.3 MB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006278/0.3201, allocations: 4.146 MB / 492.5 MB, free: 58.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3201, allocations: 48.98 kB / 492.5 MB, free: 58.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=185): time 4.959e-06/0.3201, allocations: 2 kB / 492.5 MB, free: 58.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=198): time 0.01267/0.3328, allocations: 6.26 MB / 498.8 MB, free: 57.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/0.3328, allocations: 70.91 kB / 498.8 MB, free: 57.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003072/0.3359, allocations: 3.136 MB / 0.4902 GB, free: 55.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.166e-05/0.336, allocations: 47.95 kB / 0.4902 GB, free: 55.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.3374, allocations: 3.63 MB / 0.4938 GB, free: 53.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004478/0.3379, allocations: 0.8202 MB / 0.4946 GB, free: 52.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.339, allocations: 1.307 MB / 0.4959 GB, free: 51.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.985e-05/0.339, allocations: 478.1 kB / 0.4963 GB, free: 51.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009361/0.3399, allocations: 0.5673 MB / 0.4969 GB, free: 51.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.3424, allocations: 5.774 MB / 0.5025 GB, free: 44.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003881/0.3463, allocations: 6.949 MB / 0.5093 GB, free: 36.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.33e-05/0.3464, allocations: 33.84 kB / 0.5093 GB, free: 36.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=786) (initialization): time 0.005631/0.352, allocations: 4.654 MB / 0.5139 GB, free: 34.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.3521, allocations: 58.12 kB / 0.5139 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001041/0.3522, allocations: 122.9 kB / 0.5141 GB, free: 34.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003492/0.3525, allocations: 224.9 kB / 0.5143 GB, free: 34.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001964/0.3545, allocations: 1.284 MB / 0.5155 GB, free: 33.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001322/0.3546, allocations: 249.3 kB / 0.5158 GB, free: 33.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.357, allocations: 228 kB / 0.516 GB, free: 32.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000264/0.3573, allocations: 310.8 kB / 0.5163 GB, free: 32.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 560 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (736): * Single equations (assignments): 728 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001474/0.3588, allocations: 0.6439 MB / 0.5169 GB, free: 31.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.3591, allocations: 350.5 kB / 0.5172 GB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/0.3605, allocations: 1.172 MB / 0.5184 GB, free: 30.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.3605, allocations: 20 kB / 0.5184 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.3605, allocations: 0 / 0.5184 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.565e-05/0.3605, allocations: 11.45 kB / 0.5184 GB, free: 30.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007478/0.368, allocations: 5.653 MB / 0.5239 GB, free: 25.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.368, allocations: 9.031 kB / 0.5239 GB, free: 25.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005712/0.3686, allocations: 250.7 kB / 0.5242 GB, free: 25.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001821/0.3688, allocations: 70.55 kB / 0.5242 GB, free: 25.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.453e-05/0.3689, allocations: 57.55 kB / 0.5243 GB, free: 25.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.77e-05/0.3689, allocations: 22.23 kB / 0.5243 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/0.3689, allocations: 11.94 kB / 0.5243 GB, free: 25.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3709, allocations: 2.017 MB / 0.5263 GB, free: 22.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.3713, allocations: 277.1 kB / 0.5266 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/0.3715, allocations: 42 kB / 0.5266 GB, free: 22.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.372, allocations: 36 kB / 0.5266 GB, free: 22.62 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3721, allocations: 127.6 kB / 0.5268 GB, free: 22.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.3722, allocations: 57.75 kB / 0.5268 GB, free: 22.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001036/0.3732, allocations: 1.222 MB / 0.528 GB, free: 21.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3732, allocations: 0 / 0.528 GB, free: 21.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003941/0.3772, allocations: 0.9999 MB / 0.529 GB, free: 20.5 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.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 (152): * Single equations (assignments): 144 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004439/0.3776, allocations: 194.1 kB / 0.5292 GB, free: 20.31 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004137/0.3818, allocations: 2.567 MB / 0.5317 GB, free: 18.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.3818, allocations: 0 / 0.5317 GB, free: 18.06 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006596/0.3824, allocations: 0.5854 MB / 0.5323 GB, free: 17.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001461/0.3839, allocations: 356.8 kB / 0.5326 GB, free: 17.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.3972, allocations: 8.658 MB / 0.541 GB, free: 9.016 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.3984, allocations: 1.408 MB / 0.5424 GB, free: 7.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001322/0.3997, allocations: 482.8 kB / 0.5429 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/0.4004, allocations: 0.545 MB / 0.5434 GB, free: 7.031 MB / 410.7 MB Notification: Performance of SimCode: time 1.953e-06/0.4004, allocations: 0 / 0.5434 GB, free: 7.031 MB / 410.7 MB Notification: Performance of Templates: time 0.04643/0.4468, allocations: 26.31 MB / 0.5691 GB, free: 13.07 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.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.444611886050552]