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.001349/0.001349, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001093/0.001093, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.9968/0.9968, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2563/0.2563, allocations: 32.8 MB / 294.6 MB, free: 1.203 MB / 266.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 1.733e-06/1.733e-06, allocations: 0 / 323.3 MB, free: 9.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.673e-05/2.846e-05, allocations: 3.672 kB / 323.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01062/0.01065, allocations: 8.244 MB / 331.5 MB, free: 1.395 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007919/0.01857, allocations: 3.483 MB / 335 MB, free: 13.89 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001088/0.01966, allocations: 55.75 kB / 335.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.02137, allocations: 1.437 MB / 336.5 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001721/0.02309, allocations: 0.9525 MB / 337.4 MB, free: 11.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008022/0.02389, allocations: 0.5613 MB / 338 MB, free: 10.88 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001728/0.02562, allocations: 2.055 MB / 340.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.02689, allocations: 1.479 MB / 341.5 MB, free: 7.285 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.02795, allocations: 1.021 MB / 342.6 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009557/0.02891, allocations: 0.9431 MB / 343.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.02907, allocations: 140 kB / 343.6 MB, free: 5.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006614/0.02974, allocations: 0.5772 MB / 344.2 MB, free: 4.602 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004475/0.03018, allocations: 0.7871 MB / 345 MB, free: 3.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004604/0.03064, allocations: 0.5337 MB / 345.5 MB, free: 3.277 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.03209, allocations: 1.721 MB / 347.3 MB, free: 1.551 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.0321, allocations: 4 kB / 347.3 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.0321, allocations: 4 kB / 347.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.739e-05/0.03213, allocations: 0 / 347.3 MB, free: 1.543 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.001858/0.03399, allocations: 1.81 MB / 349.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.857e-05/0.03401, allocations: 8.031 kB / 349.1 MB, free: 15.69 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000582/0.0346, allocations: 268.7 kB / 349.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007844/0.03538, allocations: 0.8118 MB / 350.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.277e-05/0.03543, allocations: 90.83 kB / 350.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.03555, allocations: 128.3 kB / 350.4 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001789/0.03734, allocations: 1.626 MB / 352 MB, free: 12.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.03737, allocations: 7.938 kB / 352 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.459e-05/0.03745, allocations: 59.97 kB / 352.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/0.03778, allocations: 402.1 kB / 352.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001345/0.03912, allocations: 0.7375 MB / 353.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005721/0.04484, allocations: 8.304 MB / 361.5 MB, free: 2.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001698/0.04654, allocations: 0.9187 MB / 362.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.0467, allocations: 147.7 kB / 362.6 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001614/0.04831, allocations: 1.589 MB / 364.1 MB, free: 64 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.04834, allocations: 35.06 kB / 364.2 MB, free: 20 kB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 1.693e-06/0.04834, allocations: 0 / 364.2 MB, free: 20 kB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004712/0.05306, allocations: 2.366 MB / 366.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.05309, allocations: 89.55 kB / 366.6 MB, free: 13.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.05378, allocations: 1.01 MB / 367.6 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.05381, allocations: 37.7 kB / 367.7 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.05417, allocations: 0.8898 MB / 368.6 MB, free: 11.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.05429, allocations: 226.2 kB / 368.8 MB, free: 11.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.05451, allocations: 307.2 kB / 369.1 MB, free: 10.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.05461, allocations: 365.8 kB / 369.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002567/0.05487, allocations: 186.8 kB / 369.6 MB, free: 10.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006735/0.05554, allocations: 1.061 MB / 370.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009366/0.05648, allocations: 1.363 MB / 372.1 MB, free: 7.152 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/0.05649, allocations: 8 kB / 372.1 MB, free: 7.145 MB / 346.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001114/0.0576, allocations: 1.059 MB / 373.1 MB, free: 6.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.05763, allocations: 20 kB / 373.1 MB, free: 6.051 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.328e-05/0.05765, allocations: 28 kB / 373.2 MB, free: 6.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000149/0.0578, allocations: 76.27 kB / 373.2 MB, free: 5.945 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006878/0.05849, allocations: 395.3 kB / 373.6 MB, free: 5.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009371/0.05943, allocations: 1.568 MB / 375.2 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.05991, allocations: 71.95 kB / 375.3 MB, free: 3.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/0.05998, allocations: 72 kB / 375.3 MB, free: 3.758 MB / 346.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.0002843/0.06027, allocations: 262.5 kB / 375.6 MB, free: 3.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.585e-05/0.06035, allocations: 79.91 kB / 375.7 MB, free: 3.414 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001085/0.06046, allocations: 114.9 kB / 375.8 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.06047, allocations: 7.984 kB / 375.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.555e-06/0.06048, allocations: 4 kB / 375.8 MB, free: 3.289 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.06048, allocations: 7.922 kB / 375.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001402/0.06188, allocations: 1.433 MB / 377.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.06189, allocations: 12.02 kB / 377.3 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002188/0.06211, allocations: 103.8 kB / 377.4 MB, free: 1.652 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001046/0.06221, allocations: 51.62 kB / 377.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.066e-05/0.06223, allocations: 12 kB / 377.4 MB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009254/0.06316, allocations: 1.626 MB / 379 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.06316, allocations: 4 kB / 379 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.06366, allocations: 0.6293 MB / 379.7 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.481e-05/0.06376, allocations: 99.28 kB / 379.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.06383, allocations: 24.05 kB / 379.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.06402, allocations: 19.94 kB / 379.8 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.06407, allocations: 51.86 kB / 379.9 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.06409, allocations: 20 kB / 379.9 MB, free: 14.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003196/0.06441, allocations: 394.2 kB / 380.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06441, allocations: 0 / 380.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008731/0.06529, allocations: 356 kB / 380.6 MB, free: 14.2 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.0002309/0.06552, allocations: 128.2 kB / 380.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007004/0.06622, allocations: 0.7421 MB / 381.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-05/0.06626, allocations: 23.84 kB / 381.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002198/0.06648, allocations: 296.9 kB / 381.8 MB, free: 13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.06698, allocations: 180.2 kB / 382 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00268/0.06966, allocations: 2.499 MB / 384.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.06995, allocations: 412.2 kB / 384.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003072/0.07026, allocations: 149.7 kB / 385 MB, free: 9.648 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/0.07055, allocations: 237.3 kB / 385.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.07055, allocations: 0 / 385.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of Templates: time 0.01615/0.0867, allocations: 11.39 MB / 396.6 MB, free: 14.23 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 -s gbode -gbm=radauIIA3 -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.2540278411470354]