Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.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.001255/0.001255, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001551/0.001551, allocations: 171.1 kB / 25.61 MB, free: 8.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9349/0.9349, allocations: 177.1 MB / 206 MB, free: 4.52 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1639/0.1639, allocations: 32.8 MB / 295.4 MB, free: 15.38 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.745e-06/2.745e-06, allocations: 4 kB / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.52e-05/1.794e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.005718/0.005736, allocations: 8.201 MB / 385.5 MB, free: 17.33 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.01052, allocations: 3.364 MB / 388.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006939/0.01121, allocations: 55.75 kB / 388.9 MB, free: 13.9 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.01265, allocations: 1.441 MB / 390.3 MB, free: 12.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00137/0.01402, allocations: 0.9682 MB / 391.3 MB, free: 11.48 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006289/0.01465, allocations: 0.5651 MB / 391.9 MB, free: 10.92 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.01596, allocations: 2.065 MB / 393.9 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.01696, allocations: 1.546 MB / 395.5 MB, free: 7.258 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007771/0.01774, allocations: 1.053 MB / 396.5 MB, free: 6.203 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007286/0.01847, allocations: 0.9782 MB / 397.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.01859, allocations: 140 kB / 397.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.01915, allocations: 0.5654 MB / 398.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003608/0.01951, allocations: 0.7871 MB / 399 MB, free: 3.73 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003203/0.01983, allocations: 0.5376 MB / 399.5 MB, free: 3.191 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.02092, allocations: 1.721 MB / 401.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.02092, allocations: 0 / 401.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.02092, allocations: 0 / 401.3 MB, free: 1.465 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.02093, allocations: 0 / 401.3 MB, free: 1.465 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.001739/0.02267, allocations: 2.037 MB / 403.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.02271, allocations: 19.97 kB / 403.3 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007141/0.02343, allocations: 399.5 kB / 403.7 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008034/0.02423, allocations: 0.843 MB / 404.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.02428, allocations: 94.77 kB / 404.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/0.0244, allocations: 128.3 kB / 404.8 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00198/0.02638, allocations: 1.779 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.713e-05/0.02642, allocations: 23.8 kB / 406.6 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002442/0.02666, allocations: 59.97 kB / 406.6 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003139/0.02698, allocations: 402.1 kB / 407 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001444/0.02842, allocations: 0.7418 MB / 407.8 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006662/0.03508, allocations: 11.49 MB / 419.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001827/0.03691, allocations: 0.9975 MB / 420.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.0371, allocations: 184.8 kB / 420.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.03887, allocations: 1.751 MB / 422.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.03889, allocations: 41.89 kB / 422.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 1.713e-06/0.03889, allocations: 0 / 422.2 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.005272/0.04416, allocations: 2.667 MB / 424.9 MB, free: 9.004 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.0442, allocations: 85.61 kB / 425 MB, free: 8.898 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007456/0.04495, allocations: 1.125 MB / 426.1 MB, free: 7.754 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.04497, allocations: 33.7 kB / 426.1 MB, free: 7.715 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004992/0.04547, allocations: 1.055 MB / 427.2 MB, free: 6.645 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.04559, allocations: 238.1 kB / 427.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/0.04585, allocations: 352.8 kB / 427.8 MB, free: 6.055 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.046, allocations: 0.5393 MB / 428.3 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.04636, allocations: 143.9 kB / 428.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/0.04711, allocations: 1.46 MB / 429.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.04822, allocations: 1.727 MB / 431.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.074e-05/0.04823, allocations: 8 kB / 431.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001192/0.04942, allocations: 1.255 MB / 432.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.04944, allocations: 23.98 kB / 432.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.063e-05/0.04946, allocations: 28 kB / 432.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/0.04961, allocations: 75.61 kB / 433 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005843/0.05019, allocations: 363.3 kB / 433.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.05143, allocations: 2.107 MB / 435.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004713/0.05191, allocations: 63.95 kB / 435.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.707e-05/0.05197, allocations: 80 kB / 435.6 MB, free: 12.89 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 139 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (199): * Single equations (assignments): 198 * Array equations: 0 * 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.0003239/0.0523, allocations: 298.5 kB / 435.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.05241, allocations: 131.2 kB / 436 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001095/0.05252, allocations: 118.8 kB / 436.1 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.05253, allocations: 8 kB / 436.2 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.05253, allocations: 3.938 kB / 436.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.05254, allocations: 0 / 436.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.05425, allocations: 1.722 MB / 437.9 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.05425, allocations: 4 kB / 437.9 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.05446, allocations: 99.77 kB / 438 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001256/0.05459, allocations: 48.16 kB / 438 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.05461, allocations: 20 kB / 438 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009829/0.05559, allocations: 2.138 MB / 440.2 MB, free: 8.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.05559, allocations: 4 kB / 440.2 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005999/0.05619, allocations: 0.7723 MB / 441 MB, free: 7.203 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.0563, allocations: 111.2 kB / 441.1 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.906e-05/0.05637, allocations: 15.94 kB / 441.1 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.05657, allocations: 19.98 kB / 441.1 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.05662, allocations: 51.8 kB / 441.2 MB, free: 7.008 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.05664, allocations: 16 kB / 441.2 MB, free: 6.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005357/0.05718, allocations: 0.5386 MB / 441.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05718, allocations: 0 / 441.7 MB, free: 6.445 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008778/0.05805, allocations: 359.9 kB / 442.1 MB, free: 6.094 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002109/0.05827, allocations: 147.1 kB / 442.2 MB, free: 5.938 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007497/0.05902, allocations: 0.8305 MB / 443 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.05902, allocations: 0 / 443 MB, free: 5.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000252/0.05927, allocations: 366 kB / 443.4 MB, free: 4.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.05982, allocations: 168.2 kB / 443.6 MB, free: 4.559 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.06241, allocations: 2.504 MB / 446.1 MB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000308/0.06272, allocations: 416.2 kB / 446.5 MB, free: 1.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.06302, allocations: 153.7 kB / 446.6 MB, free: 1.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002982/0.06332, allocations: 266.1 kB / 446.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/0.06332, allocations: 0 / 446.9 MB, free: 1.086 MB / 362.7 MB Notification: Performance of Templates: time 0.01638/0.0797, allocations: 11.63 MB / 458.5 MB, free: 5.68 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.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.4501094222068787]