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.0008286/0.0008286, allocations: 76.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001136/0.001965, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0007485/0.0007485, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009186/0.001667, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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.9371/0.9371, allocations: 158.6 MB / 171 MB, free: 2.188 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.17/1.107, allocations: 49.5 MB / 220.5 MB, free: 5.277 MB / 218.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.34 MB / 253.6 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02181/0.1638, allocations: 12.29 MB / 265.9 MB, free: 7.844 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.934e-06/1.934e-06, allocations: 0 / 267.2 MB, free: 6.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.949e-05/3.142e-05, allocations: 6.25 kB / 267.2 MB, free: 6.527 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01035/0.01038, allocations: 12 MB / 279.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.006669/0.01705, allocations: 3.979 MB / 283.2 MB, free: 6.473 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00105/0.0181, allocations: 71.75 kB / 283.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001493/0.01959, allocations: 1.377 MB / 284.7 MB, free: 5.02 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002735/0.02233, allocations: 1.886 MB / 286.5 MB, free: 3.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007106/0.02304, allocations: 419 kB / 286.9 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.02589, allocations: 3.914 MB / 290.9 MB, free: 14.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002242/0.02813, allocations: 1.951 MB / 292.8 MB, free: 12.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001849/0.02998, allocations: 1.979 MB / 294.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001494/0.03147, allocations: 1.843 MB / 296.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002583/0.03173, allocations: 244 kB / 296.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001014/0.03275, allocations: 0.8229 MB / 297.7 MB, free: 7.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00119/0.03394, allocations: 1.566 MB / 299.3 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006916/0.03463, allocations: 0.8525 MB / 300.1 MB, free: 5.477 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002761/0.03739, allocations: 3.816 MB / 303.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.658e-05/0.03741, allocations: 0 / 303.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.03741, allocations: 0 / 303.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.224e-05/0.03745, allocations: 0 / 303.9 MB, free: 1.645 MB / 298.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.00387/0.04132, allocations: 4.641 MB / 308.6 MB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.04136, allocations: 8.031 kB / 308.6 MB, free: 12.94 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003306/0.04466, allocations: 1.488 MB / 310.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001414/0.04608, allocations: 1.433 MB / 311.5 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001/0.04618, allocations: 197.2 kB / 311.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.04647, allocations: 260.1 kB / 311.9 MB, free: 9.516 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/0.05079, allocations: 4.448 MB / 316.4 MB, free: 4.602 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.685e-05/0.05084, allocations: 23.75 kB / 316.4 MB, free: 4.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.05104, allocations: 119.8 kB / 316.5 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001994/0.05304, allocations: 2.226 MB / 318.8 MB, free: 2.234 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004032/0.05707, allocations: 2.525 MB / 321.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1727/0.2298, allocations: 24.46 MB / 345.7 MB, free: 24.38 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002146/0.232, allocations: 1.183 MB / 346.9 MB, free: 24.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003007/0.2323, allocations: 256.1 kB / 347.2 MB, free: 24.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000429/0.2327, allocations: 399.4 kB / 347.6 MB, free: 24.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.2327, allocations: 49.81 kB / 347.6 MB, free: 24.21 MB / 330.7 MB Notification: Performance of pre-optimization done (n=187): time 4.158e-06/0.2327, allocations: 0 / 347.6 MB, free: 24.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=193): time 0.008196/0.2409, allocations: 4.292 MB / 351.9 MB, free: 23.45 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/0.241, allocations: 93.36 kB / 352 MB, free: 23.35 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.2425, allocations: 2.258 MB / 354.3 MB, free: 22.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.2426, allocations: 46.8 kB / 354.3 MB, free: 22.81 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009013/0.2435, allocations: 2.772 MB / 357.1 MB, free: 20.97 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.2438, allocations: 0.7231 MB / 357.8 MB, free: 20.53 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006742/0.2445, allocations: 0.9323 MB / 358.7 MB, free: 20.42 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.328e-05/0.2445, allocations: 362 kB / 359.1 MB, free: 20.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.2453, allocations: 0.6088 MB / 359.7 MB, free: 20.09 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001611/0.2469, allocations: 3.423 MB / 363.1 MB, free: 16.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/0.2495, allocations: 4.471 MB / 367.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.992e-05/0.2495, allocations: 27.88 kB / 367.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=666) (initialization): time 0.003159/0.2527, allocations: 3.254 MB / 370.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.2527, allocations: 49.22 kB / 370.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-05/0.2528, allocations: 104.3 kB / 371 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002097/0.253, allocations: 174.3 kB / 371.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.2548, allocations: 1.197 MB / 372.4 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007735/0.2556, allocations: 1.485 MB / 373.9 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.2569, allocations: 184.5 kB / 374.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.2572, allocations: 264.5 kB / 374.3 MB, free: 11.08 MB / 330.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.0008319/0.258, allocations: 0.5107 MB / 374.8 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.2582, allocations: 179.8 kB / 375 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009498/0.2591, allocations: 1.045 MB / 376 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-05/0.2591, allocations: 22.11 kB / 376.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.2591, allocations: 0 / 376.1 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.2592, allocations: 14.92 kB / 376.1 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00406/0.2632, allocations: 4.132 MB / 380.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.2632, allocations: 12 kB / 380.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.2637, allocations: 255.4 kB / 380.5 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.264, allocations: 356.1 kB / 380.8 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.784e-05/0.2641, allocations: 48.09 kB / 380.9 MB, free: 6.574 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/0.2642, allocations: 40.86 kB / 380.9 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000684/0.2649, allocations: 1.41 MB / 382.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-06/0.2649, allocations: 19.91 kB / 382.3 MB, free: 5.133 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.266, allocations: 1.55 MB / 383.9 MB, free: 3.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.2662, allocations: 42.2 kB / 383.9 MB, free: 3.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.2666, allocations: 33.38 kB / 384 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2667, allocations: 118.2 kB / 384.1 MB, free: 3.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.045e-05/0.2668, allocations: 61.53 kB / 384.1 MB, free: 3.328 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005544/0.2673, allocations: 0.7934 MB / 384.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2673, allocations: 0 / 384.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002185/0.2695, allocations: 0.8784 MB / 385.8 MB, free: 1.871 MB / 330.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.0003132/0.2698, allocations: 186.4 kB / 386 MB, free: 1.707 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/0.2718, allocations: 2.047 MB / 388 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001227/0.2719, allocations: 64.47 kB / 388.1 MB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005613/0.2724, allocations: 0.5242 MB / 388.6 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009402/0.2734, allocations: 443 kB / 389.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009749/0.2831, allocations: 7.655 MB / 396.7 MB, free: 7.004 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009617/0.2841, allocations: 1.156 MB / 397.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008342/0.2849, allocations: 391.4 kB / 398.2 MB, free: 5.445 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005209/0.2855, allocations: 407.2 kB / 398.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.2855, allocations: 0 / 398.6 MB, free: 5.047 MB / 346.7 MB Notification: Performance of Templates: time 0.03205/0.3175, allocations: 19.47 MB / 418.1 MB, free: 1.789 MB / 362.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 -ignoreHideResult -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: 3.725469651632011]