Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001157/0.001157, allocations: 81.97 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.001312/0.001312, allocations: 171 kB / 25.61 MB, free: 8.582 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.9591/0.9591, allocations: 177.2 MB / 206.1 MB, free: 4.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.145/0.145, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.244e-05/2.412e-05, allocations: 2.312 kB / 379.3 MB, free: 23.39 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.005687/0.005711, allocations: 8.194 MB / 387.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005092/0.0108, allocations: 3.364 MB / 390.9 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001264/0.01207, allocations: 51.75 kB / 390.9 MB, free: 11.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00147/0.01354, allocations: 1.444 MB / 392.4 MB, free: 10.27 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.01526, allocations: 0.9721 MB / 393.3 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008104/0.01607, allocations: 0.5612 MB / 393.9 MB, free: 8.73 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.01775, allocations: 2.06 MB / 395.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00115/0.0189, allocations: 1.549 MB / 397.5 MB, free: 5.074 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/0.0199, allocations: 1.049 MB / 398.5 MB, free: 4.023 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008675/0.02077, allocations: 0.9743 MB / 399.5 MB, free: 3.047 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001367/0.0209, allocations: 140 kB / 399.7 MB, free: 2.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007159/0.02162, allocations: 0.5771 MB / 400.2 MB, free: 2.332 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.02204, allocations: 0.7832 MB / 401 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003585/0.0224, allocations: 0.5298 MB / 401.5 MB, free: 1.016 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.02393, allocations: 1.725 MB / 403.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.02394, allocations: 4 kB / 403.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02394, allocations: 0 / 403.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.02396, allocations: 4 kB / 403.3 MB, free: 15.27 MB / 330.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.002269/0.02623, allocations: 2.034 MB / 405.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.02628, allocations: 16.02 kB / 405.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/0.02714, allocations: 399.5 kB / 405.7 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009792/0.02812, allocations: 0.843 MB / 406.6 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6e-05/0.02818, allocations: 98.81 kB / 406.7 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001322/0.02831, allocations: 128.3 kB / 406.8 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.03063, allocations: 1.783 MB / 408.6 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.67e-05/0.03066, allocations: 15.88 kB / 408.6 MB, free: 9.613 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.515e-05/0.03075, allocations: 55.97 kB / 408.6 MB, free: 9.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003612/0.03111, allocations: 406.1 kB / 409 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.03258, allocations: 0.7457 MB / 409.8 MB, free: 8.402 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008092/0.04067, allocations: 11.49 MB / 421.3 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.04276, allocations: 0.9936 MB / 422.3 MB, free: 11.56 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002025/0.04296, allocations: 180.8 kB / 422.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001996/0.04496, allocations: 1.755 MB / 424.2 MB, free: 9.598 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.04498, allocations: 37.89 kB / 424.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.445e-06/0.04499, allocations: 0 / 424.2 MB, free: 9.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=57): time 0.006009/0.051, allocations: 2.663 MB / 426.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.05104, allocations: 85.61 kB / 427 MB, free: 6.727 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/0.05196, allocations: 1.125 MB / 428.1 MB, free: 5.582 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.05199, allocations: 37.7 kB / 428.1 MB, free: 5.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005352/0.05253, allocations: 1.058 MB / 429.2 MB, free: 4.465 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003998/0.05293, allocations: 234.1 kB / 429.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002937/0.05322, allocations: 352.8 kB / 429.8 MB, free: 3.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001851/0.05341, allocations: 0.5393 MB / 430.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.05362, allocations: 147.9 kB / 430.5 MB, free: 3.188 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008523/0.05447, allocations: 1.456 MB / 431.9 MB, free: 1.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.05568, allocations: 1.735 MB / 433.6 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.093e-05/0.05569, allocations: 8 kB / 433.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001305/0.057, allocations: 1.247 MB / 434.9 MB, free: 13.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.1e-05/0.05703, allocations: 19.98 kB / 434.9 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.05705, allocations: 32 kB / 435 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001601/0.05721, allocations: 75.66 kB / 435 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009426/0.05815, allocations: 363.3 kB / 435.4 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.05938, allocations: 2.115 MB / 437.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006287/0.06001, allocations: 67.95 kB / 437.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.97e-05/0.06008, allocations: 76 kB / 437.6 MB, free: 10.7 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.0004255/0.0605, allocations: 298.4 kB / 437.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.06064, allocations: 135.3 kB / 438.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000134/0.06077, allocations: 114.8 kB / 438.2 MB, free: 10.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.06078, allocations: 8 kB / 438.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.06079, allocations: 3.938 kB / 438.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.0608, allocations: 0 / 438.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001975/0.06277, allocations: 1.722 MB / 439.9 MB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/0.06278, allocations: 7.984 kB / 439.9 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00021/0.06299, allocations: 91.84 kB / 440 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001129/0.0631, allocations: 48.16 kB / 440 MB, free: 8.156 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.06312, allocations: 16 kB / 440.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001078/0.0642, allocations: 2.146 MB / 442.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.0642, allocations: 4 kB / 442.2 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.06516, allocations: 0.7723 MB / 443 MB, free: 5.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.0653, allocations: 119.2 kB / 443.1 MB, free: 4.902 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.06537, allocations: 15.94 kB / 443.1 MB, free: 4.887 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.06559, allocations: 23.98 kB / 443.1 MB, free: 4.863 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.06565, allocations: 47.8 kB / 443.2 MB, free: 4.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.06566, allocations: 16 kB / 443.2 MB, free: 4.801 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004165/0.06608, allocations: 0.5347 MB / 443.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.06608, allocations: 0 / 443.7 MB, free: 4.258 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001278/0.06736, allocations: 368 kB / 444.1 MB, free: 3.898 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.0002287/0.06759, allocations: 135.1 kB / 444.2 MB, free: 3.754 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009178/0.06851, allocations: 0.8301 MB / 445.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.06851, allocations: 0 / 445.1 MB, free: 2.914 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.06878, allocations: 359.4 kB / 445.4 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005979/0.06938, allocations: 175.2 kB / 445.6 MB, free: 2.371 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003083/0.07246, allocations: 2.512 MB / 448.1 MB, free: 15.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.07283, allocations: 408.2 kB / 448.5 MB, free: 15.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.07323, allocations: 153.7 kB / 448.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003094/0.07354, allocations: 262.1 kB / 448.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/0.07354, allocations: 0 / 448.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of Templates: time 0.01897/0.09251, allocations: 11.64 MB / 460.5 MB, free: 3.469 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4190799477510154]