Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008972/0.0008972, allocations: 88.2 kB / 20.95 MB, free: 3.602 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.0009985/0.0009985, allocations: 169 kB / 24.25 MB, free: 308 kB / 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.9518/0.9518, allocations: 158.6 MB / 186 MB, free: 2.895 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.1423/0.1423, allocations: 32.38 MB / 270.7 MB, free: 14.86 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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 347.7 MB, free: 9.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.973e-05/3.163e-05, allocations: 4.281 kB / 347.7 MB, free: 9.766 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.00636/0.006392, allocations: 8.404 MB / 356.1 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005811/0.0122, allocations: 3.386 MB / 359.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.01351, allocations: 55.75 kB / 359.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.01529, allocations: 1.46 MB / 361 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.01731, allocations: 0.9993 MB / 362 MB, free: 11.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.01825, allocations: 0.5729 MB / 362.6 MB, free: 10.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00213/0.02038, allocations: 2.007 MB / 364.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001581/0.02196, allocations: 1.561 MB / 366.1 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.02333, allocations: 1.041 MB / 367.2 MB, free: 6.176 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.02453, allocations: 1.021 MB / 368.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000213/0.02474, allocations: 140 kB / 368.3 MB, free: 5.016 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008808/0.02562, allocations: 0.5966 MB / 368.9 MB, free: 4.418 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007636/0.02638, allocations: 0.7949 MB / 369.7 MB, free: 3.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007015/0.02708, allocations: 0.5415 MB / 370.3 MB, free: 3.074 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002211/0.02929, allocations: 1.772 MB / 372 MB, free: 1.297 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.0293, allocations: 0 / 372 MB, free: 1.297 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.0293, allocations: 0 / 372 MB, free: 1.297 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.251e-05/0.02934, allocations: 0 / 372 MB, free: 1.297 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.002752/0.0321, allocations: 2.186 MB / 374.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/0.03214, allocations: 12.03 kB / 374.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009084/0.03305, allocations: 419.5 kB / 374.6 MB, free: 14.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001371/0.03442, allocations: 0.9535 MB / 375.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.87e-05/0.03449, allocations: 94.83 kB / 375.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.03463, allocations: 124.3 kB / 375.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002782/0.03742, allocations: 2.029 MB / 377.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.03746, allocations: 15.89 kB / 377.9 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.162e-05/0.03755, allocations: 51.97 kB / 377.9 MB, free: 11.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.03797, allocations: 442 kB / 378.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002099/0.04007, allocations: 1.02 MB / 379.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008665/0.04873, allocations: 11.64 MB / 391 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.05096, allocations: 1.017 MB / 392 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.05122, allocations: 204.8 kB / 392.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/0.05324, allocations: 1.802 MB / 394 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.05327, allocations: 45.89 kB / 394.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 3.316e-06/0.05328, allocations: 0 / 394.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.006652/0.05993, allocations: 3.013 MB / 397.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.753e-05/0.05998, allocations: 89.55 kB / 397.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.06114, allocations: 1.146 MB / 398.3 MB, free: 6.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/0.06118, allocations: 33.7 kB / 398.3 MB, free: 6.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.06175, allocations: 1.043 MB / 399.4 MB, free: 5.059 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.06188, allocations: 222.3 kB / 399.6 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.06215, allocations: 333 kB / 399.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.06237, allocations: 0.5355 MB / 400.5 MB, free: 3.961 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.06267, allocations: 163.9 kB / 400.6 MB, free: 3.801 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009446/0.06361, allocations: 1.419 MB / 402 MB, free: 1.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.06497, allocations: 1.721 MB / 403.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.06499, allocations: 8 kB / 403.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001565/0.06655, allocations: 1.309 MB / 405.1 MB, free: 14.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.06658, allocations: 16 kB / 405.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.363e-05/0.0666, allocations: 28 kB / 405.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.0668, allocations: 80.19 kB / 405.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006503/0.06745, allocations: 359.4 kB / 405.5 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001237/0.06869, allocations: 2.141 MB / 407.7 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.06939, allocations: 103.9 kB / 407.8 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.509e-05/0.06946, allocations: 87.98 kB / 407.9 MB, free: 11.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 134 * 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 (194): * Single equations (assignments): 193 * 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.000415/0.06988, allocations: 294.5 kB / 408.2 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/0.07001, allocations: 135.2 kB / 408.3 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005942/0.0706, allocations: 452.3 kB / 408.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.07061, allocations: 4 kB / 408.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.07061, allocations: 0 / 408.7 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.07062, allocations: 11.92 kB / 408.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.07278, allocations: 1.769 MB / 410.5 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.07279, allocations: 4.5 kB / 410.5 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.073, allocations: 95.89 kB / 410.6 MB, free: 8.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001429/0.07314, allocations: 55.59 kB / 410.7 MB, free: 8.328 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.07316, allocations: 12 kB / 410.7 MB, free: 8.316 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001024/0.07419, allocations: 2.177 MB / 412.9 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.07419, allocations: 7.938 kB / 412.9 MB, free: 6.016 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.07489, allocations: 0.8192 MB / 413.7 MB, free: 5.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.0751, allocations: 155.2 kB / 413.8 MB, free: 4.961 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.351e-05/0.07517, allocations: 12 kB / 413.9 MB, free: 4.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.07542, allocations: 47.88 kB / 413.9 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.07548, allocations: 51.98 kB / 414 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.0755, allocations: 27.88 kB / 414 MB, free: 4.824 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005313/0.07603, allocations: 0.5895 MB / 414.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.07603, allocations: 0 / 414.6 MB, free: 4.227 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001203/0.07723, allocations: 360 kB / 414.9 MB, free: 3.875 MB / 346.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.0002562/0.07749, allocations: 151.1 kB / 415.1 MB, free: 3.715 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.07852, allocations: 0.8634 MB / 415.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.07852, allocations: 0 / 415.9 MB, free: 2.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003142/0.07884, allocations: 372.2 kB / 416.3 MB, free: 2.457 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006807/0.07952, allocations: 180.4 kB / 416.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003416/0.08293, allocations: 2.539 MB / 419 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.08327, allocations: 416.1 kB / 419.4 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005682/0.08384, allocations: 357.1 kB / 419.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.08397, allocations: 76.44 kB / 419.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of SimCode: time 1.102e-06/0.08397, allocations: 0 / 419.8 MB, free: 14.76 MB / 362.7 MB Notification: Performance of Templates: time 0.01701/0.101, allocations: 10.99 MB / 430.8 MB, free: 3.895 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.334241561824456]