Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.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.001706/0.001706, allocations: 81.95 kB / 21.44 MB, free: 3.051 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.001321/0.001321, allocations: 164 kB / 24.84 MB, free: 9.254 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.9495/0.9495, allocations: 158.6 MB / 186.7 MB, free: 2.809 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.1291/0.1291, allocations: 32.38 MB / 271.5 MB, free: 14.53 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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 348.9 MB, free: 9.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.028e-05/2.146e-05, allocations: 9.344 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.007877/0.007898, allocations: 11.86 MB / 360.8 MB, free: 13.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006679/0.01458, allocations: 3.789 MB / 364.6 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001787/0.01636, allocations: 71.75 kB / 364.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.0183, allocations: 1.405 MB / 366.1 MB, free: 7.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.02158, allocations: 1.91 MB / 368 MB, free: 6.043 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.02235, allocations: 470.9 kB / 368.4 MB, free: 5.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003751/0.0261, allocations: 3.996 MB / 372.4 MB, free: 1.578 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002195/0.0283, allocations: 2.204 MB / 374.6 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002914/0.03121, allocations: 1.945 MB / 376.6 MB, free: 13.39 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002468/0.03368, allocations: 1.968 MB / 378.5 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004024/0.03408, allocations: 244 kB / 378.8 MB, free: 11.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.03545, allocations: 0.7995 MB / 379.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001319/0.03677, allocations: 1.737 MB / 381.3 MB, free: 8.633 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.03822, allocations: 1.039 MB / 382.3 MB, free: 7.59 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004581/0.0428, allocations: 4.061 MB / 386.4 MB, free: 3.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.04281, allocations: 4 kB / 386.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.04281, allocations: 0 / 386.4 MB, free: 3.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001009/0.04291, allocations: 0 / 386.4 MB, free: 3.508 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: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.005043/0.04795, allocations: 4.494 MB / 390.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.04799, allocations: 8.031 kB / 390.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004717/0.05271, allocations: 1.851 MB / 392.8 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003019/0.05572, allocations: 1.589 MB / 394.4 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001271/0.05585, allocations: 197.2 kB / 394.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003913/0.05624, allocations: 256.1 kB / 394.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006663/0.06291, allocations: 4.79 MB / 399.6 MB, free: 5.609 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.731e-05/0.06297, allocations: 23.81 kB / 399.6 MB, free: 5.586 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.06322, allocations: 127.8 kB / 399.7 MB, free: 5.461 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00207/0.06529, allocations: 2.199 MB / 401.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005885/0.07117, allocations: 2.497 MB / 404.4 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0303/0.1015, allocations: 32.4 MB / 436.8 MB, free: 15.32 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002681/0.1042, allocations: 1.209 MB / 438 MB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000424/0.1046, allocations: 300.5 kB / 438.3 MB, free: 13.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004573/0.105, allocations: 396.8 kB / 438.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.1051, allocations: 54.69 kB / 438.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=187): time 4.538e-06/0.1051, allocations: 0 / 438.8 MB, free: 13.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.01053/0.1156, allocations: 4.726 MB / 443.5 MB, free: 8.582 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.1157, allocations: 94.42 kB / 443.6 MB, free: 8.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002101/0.1178, allocations: 2.525 MB / 446.1 MB, free: 5.91 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.1179, allocations: 49.7 kB / 446.2 MB, free: 5.855 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001778/0.1196, allocations: 3.004 MB / 449.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006169/0.1203, allocations: 0.7792 MB / 450 MB, free: 2.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008932/0.1212, allocations: 1.096 MB / 451 MB, free: 0.9258 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1213, allocations: 0.5354 MB / 451.6 MB, free: 392 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1527/0.2741, allocations: 468 kB / 452 MB, free: 84.98 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/0.2771, allocations: 4.839 MB / 456.9 MB, free: 79.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004267/0.2814, allocations: 5.833 MB / 462.7 MB, free: 73.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-05/0.2814, allocations: 31.31 kB / 462.7 MB, free: 73.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.00567/0.2871, allocations: 3.862 MB / 466.6 MB, free: 73.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.866e-05/0.2872, allocations: 54.8 kB / 466.7 MB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002077/0.2874, allocations: 103.6 kB / 466.8 MB, free: 73.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/0.2878, allocations: 170.8 kB / 466.9 MB, free: 73.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/0.2898, allocations: 1.084 MB / 468 MB, free: 73.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009989/0.2908, allocations: 2.003 MB / 470 MB, free: 71.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002323/0.2931, allocations: 190.8 kB / 470.2 MB, free: 71.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003092/0.2934, allocations: 264 kB / 470.5 MB, free: 71.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 471 * 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],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (614): * Single equations (assignments): 607 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001229/0.2946, allocations: 0.5589 MB / 471 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.2951, allocations: 297.8 kB / 471.3 MB, free: 71.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001686/0.2967, allocations: 1.272 MB / 472.6 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.2968, allocations: 22.34 kB / 472.6 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2968, allocations: 0 / 472.6 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/0.2968, allocations: 6.516 kB / 472.6 MB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006472/0.3033, allocations: 4.996 MB / 477.6 MB, free: 70.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/0.3033, allocations: 6.75 kB / 477.6 MB, free: 70.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.3039, allocations: 229.1 kB / 477.8 MB, free: 70.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001469/0.304, allocations: 55.05 kB / 477.9 MB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.807e-05/0.3041, allocations: 46.03 kB / 477.9 MB, free: 70.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000781/0.3049, allocations: 1.83 MB / 479.8 MB, free: 68.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.3049, allocations: 19.38 kB / 479.8 MB, free: 68.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3066, allocations: 1.845 MB / 481.6 MB, free: 67.4 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005822/0.3071, allocations: 357.5 kB / 482 MB, free: 67.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001746/0.3073, allocations: 40.06 kB / 482 MB, free: 67.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004681/0.3078, allocations: 31 kB / 482 MB, free: 67.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/0.308, allocations: 134.6 kB / 482.2 MB, free: 67.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.3081, allocations: 55.52 kB / 482.2 MB, free: 67.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009987/0.3091, allocations: 1.003 MB / 483.2 MB, free: 67.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 0 / 483.2 MB, free: 67.06 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003225/0.3123, allocations: 0.8885 MB / 484.1 MB, free: 66.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (141): * Single equations (assignments): 134 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003744/0.3127, allocations: 195.4 kB / 484.3 MB, free: 66.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002867/0.3156, allocations: 2.265 MB / 486.6 MB, free: 64.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.032e-06/0.3156, allocations: 1.422 kB / 486.6 MB, free: 64.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.3161, allocations: 0.6407 MB / 487.2 MB, free: 64.28 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.3172, allocations: 272 kB / 487.5 MB, free: 64.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008812/0.326, allocations: 7.289 MB / 494.8 MB, free: 57.41 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001004/0.327, allocations: 1.17 MB / 495.9 MB, free: 56.55 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001062/0.3281, allocations: 391.4 kB / 496.3 MB, free: 56.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004679/0.3285, allocations: 447.9 kB / 496.8 MB, free: 55.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.3285, allocations: 0 / 496.8 MB, free: 55.86 MB / 378.7 MB Notification: Performance of Templates: time 0.03764/0.3662, allocations: 19.65 MB / 0.5043 GB, free: 37.2 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.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.1235632579773664]