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.001509/0.001509, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001792/0.001792, allocations: 166.3 kB / 24.99 MB, free: 8.801 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.046/1.046, allocations: 177 MB / 205.2 MB, free: 5.605 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.2755/0.2755, allocations: 34.87 MB / 296.6 MB, free: 0.5664 MB / 266.7 MB " [Timeout remaining time 180] 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.216e-06/3.216e-06, allocations: 0 / 378.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.34e-05/4.662e-05, allocations: 2.312 kB / 378.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01265/0.0127, allocations: 14.36 MB / 393.1 MB, free: 3.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009515/0.02221, allocations: 4.326 MB / 397.4 MB, free: 15.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002246/0.02446, allocations: 91.62 kB / 397.5 MB, free: 15.56 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002998/0.02745, allocations: 2.382 MB / 399.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003942/0.0314, allocations: 2.123 MB / 402 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.0326, allocations: 0.6782 MB / 402.7 MB, free: 10.36 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004826/0.03742, allocations: 4.69 MB / 407.4 MB, free: 5.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004089/0.04151, allocations: 3.02 MB / 410.4 MB, free: 2.586 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00514/0.04665, allocations: 2.444 MB / 412.9 MB, free: 140 kB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003506/0.05016, allocations: 2.424 MB / 415.3 MB, free: 13.71 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008749/0.05103, allocations: 344 kB / 415.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002081/0.05311, allocations: 1.006 MB / 416.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001714/0.05482, allocations: 2.103 MB / 418.7 MB, free: 10.25 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001705/0.05653, allocations: 1.316 MB / 420.1 MB, free: 8.934 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006048/0.06258, allocations: 4.946 MB / 425 MB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.06258, allocations: 0 / 425 MB, free: 3.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.06259, allocations: 0 / 425 MB, free: 3.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001826/0.06277, allocations: 0 / 425 MB, free: 3.969 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.007167/0.06994, allocations: 5.609 MB / 430.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.06998, allocations: 12.03 kB / 430.6 MB, free: 14.28 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/0.0766, allocations: 3.824 MB / 434.4 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/0.07974, allocations: 2.168 MB / 436.6 MB, free: 8.242 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001482/0.07989, allocations: 254.6 kB / 436.9 MB, free: 7.992 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005781/0.08047, allocations: 328.1 kB / 437.2 MB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01155/0.09202, allocations: 6.36 MB / 443.5 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/0.09217, allocations: 39.69 kB / 443.6 MB, free: 0.5547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005895/0.09276, allocations: 155.8 kB / 443.7 MB, free: 412 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1855/0.2782, allocations: 2.834 MB / 446.6 MB, free: 96.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01332/0.2915, allocations: 3.78 MB / 450.3 MB, free: 96.04 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04063/0.3322, allocations: 40.27 MB / 490.6 MB, free: 66.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.3374, allocations: 1.907 MB / 492.5 MB, free: 65.89 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001453/0.3388, allocations: 0.7269 MB / 493.2 MB, free: 65.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006223/0.3394, allocations: 405.6 kB / 493.6 MB, free: 65.71 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/0.3395, allocations: 62.98 kB / 493.7 MB, free: 65.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 5.801e-06/0.3395, allocations: 0 / 493.7 MB, free: 65.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=267): time 0.02716/0.3666, allocations: 11.04 MB / 0.4929 GB, free: 63.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3667, allocations: 84.66 kB / 0.493 GB, free: 62.94 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.3701, allocations: 2.865 MB / 0.4958 GB, free: 61.48 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001559/0.3702, allocations: 61.7 kB / 0.4959 GB, free: 61.41 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.3721, allocations: 3.393 MB / 0.4992 GB, free: 58.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001121/0.3733, allocations: 1.051 MB / 0.5002 GB, free: 57.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/0.3746, allocations: 1.262 MB / 0.5014 GB, free: 56.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.72e-05/0.3746, allocations: 476.8 kB / 0.5019 GB, free: 55.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.3761, allocations: 0.7524 MB / 0.5026 GB, free: 55.12 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002971/0.3791, allocations: 5.58 MB / 0.5081 GB, free: 47.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005151/0.3842, allocations: 7.024 MB / 0.5149 GB, free: 38.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.202e-05/0.3843, allocations: 36 kB / 0.515 GB, free: 38.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.008918/0.3932, allocations: 5.667 MB / 0.5205 GB, free: 33.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.421e-05/0.3933, allocations: 57.83 kB / 0.5205 GB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001348/0.3934, allocations: 115.5 kB / 0.5207 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001758/0.3952, allocations: 0.7542 MB / 0.5214 GB, free: 32.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002812/0.398, allocations: 1.353 MB / 0.5227 GB, free: 31.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003317/0.4013, allocations: 3.292 MB / 0.5259 GB, free: 28.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/0.4049, allocations: 357.7 kB / 0.5263 GB, free: 28.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004541/0.4054, allocations: 335.9 kB / 0.5266 GB, free: 27.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * 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 (729): * Single equations (assignments): 722 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002082/0.4075, allocations: 0.6233 MB / 0.5272 GB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006562/0.4081, allocations: 377.9 kB / 0.5276 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004045/0.4122, allocations: 2.785 MB / 0.5303 GB, free: 24.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.648e-05/0.4122, allocations: 47.98 kB / 0.5303 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.277e-05/0.4122, allocations: 4 kB / 0.5303 GB, free: 24.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.4123, allocations: 15.89 kB / 0.5303 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.4243, allocations: 7.629 MB / 0.5378 GB, free: 16.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/0.4244, allocations: 14.94 kB / 0.5378 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.4254, allocations: 423.3 kB / 0.5382 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001411/0.4268, allocations: 0.6034 MB / 0.5388 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/0.4269, allocations: 52 kB / 0.5389 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002511/0.4295, allocations: 2.685 MB / 0.5415 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.4295, allocations: 15.94 kB / 0.5415 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004718/0.4342, allocations: 3.554 MB / 0.545 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008055/0.435, allocations: 282 kB / 0.5452 GB, free: 8.285 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002551/0.4352, allocations: 51.98 kB / 0.5453 GB, free: 8.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.4361, allocations: 183.7 kB / 0.5455 GB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.4363, allocations: 177.2 kB / 0.5456 GB, free: 7.887 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.4364, allocations: 83.94 kB / 0.5457 GB, free: 7.805 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001406/0.4378, allocations: 1.207 MB / 0.5469 GB, free: 6.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4378, allocations: 0 / 0.5469 GB, free: 6.594 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003929/0.4418, allocations: 1.137 MB / 0.548 GB, free: 5.457 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (208): * Single equations (assignments): 201 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004919/0.4423, allocations: 205.8 kB / 0.5482 GB, free: 5.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005261/0.4475, allocations: 3.276 MB / 0.5514 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.4475, allocations: 0 / 0.5514 GB, free: 1.957 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.4492, allocations: 1.091 MB / 0.5525 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.4512, allocations: 369.7 kB / 0.5528 GB, free: 0.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.4665, allocations: 9.245 MB / 0.5618 GB, free: 6.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/0.4679, allocations: 1.41 MB / 0.5632 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002893/0.4707, allocations: 1.75 MB / 0.5649 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006108/0.4714, allocations: 228.5 kB / 0.5651 GB, free: 3.586 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4714, allocations: 0 / 0.5651 GB, free: 3.586 MB / 426.7 MB Notification: Performance of Templates: time 0.05287/0.5242, allocations: 30.34 MB / 0.5948 GB, free: 5.652 MB / 458.7 MB " [Timeout remaining time 659] 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.590311904903501]