Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009905/0.0009905, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000934/0.000934, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9446/0.9446, allocations: 177 MB / 204.8 MB, free: 5.562 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2664/0.2664, allocations: 34.87 MB / 296.3 MB, free: 0.5352 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.012e-05, allocations: 3.016 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007528/0.007548, allocations: 8.386 MB / 387.2 MB, free: 9.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004321/0.01187, allocations: 3.411 MB / 390.6 MB, free: 6.215 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.01228, allocations: 51.75 kB / 390.6 MB, free: 6.164 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001624/0.0139, allocations: 1.468 MB / 392.1 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.01506, allocations: 0.9642 MB / 393.1 MB, free: 3.723 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.01562, allocations: 0.5613 MB / 393.6 MB, free: 3.16 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001337/0.01696, allocations: 2.057 MB / 395.7 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001147/0.0181, allocations: 1.561 MB / 397.2 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009503/0.01905, allocations: 1.017 MB / 398.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008327/0.01989, allocations: 1.017 MB / 399.3 MB, free: 13.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001422/0.02003, allocations: 140 kB / 399.4 MB, free: 13.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005786/0.02061, allocations: 0.5771 MB / 400 MB, free: 12.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.02107, allocations: 0.7871 MB / 400.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003915/0.02146, allocations: 0.5376 MB / 401.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.02278, allocations: 1.74 MB / 403.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02279, allocations: 0 / 403.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.02279, allocations: 0 / 403.1 MB, free: 9.668 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.347e-05/0.0228, allocations: 4 kB / 403.1 MB, free: 9.664 MB / 378.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.002368/0.02517, allocations: 2.162 MB / 405.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.02522, allocations: 16.02 kB / 405.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/0.02602, allocations: 419.5 kB / 405.6 MB, free: 7.027 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.02707, allocations: 0.9313 MB / 406.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/0.02713, allocations: 94.83 kB / 406.7 MB, free: 5.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.02727, allocations: 124.3 kB / 406.8 MB, free: 5.852 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/0.02979, allocations: 2.041 MB / 408.8 MB, free: 3.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.46e-05/0.02982, allocations: 15.83 kB / 408.8 MB, free: 3.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/0.02991, allocations: 55.97 kB / 408.9 MB, free: 3.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000384/0.03029, allocations: 434 kB / 409.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001869/0.03216, allocations: 1.024 MB / 410.3 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007754/0.03992, allocations: 11.64 MB / 422 MB, free: 6.035 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001975/0.04189, allocations: 1.032 MB / 423 MB, free: 4.977 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002514/0.04214, allocations: 205.3 kB / 423.2 MB, free: 4.77 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001809/0.04395, allocations: 1.787 MB / 425 MB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.04398, allocations: 41.89 kB / 425 MB, free: 2.906 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 2.224e-06/0.04399, allocations: 0 / 425 MB, free: 2.906 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006118/0.05011, allocations: 3.001 MB / 428 MB, free: 15.84 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.05015, allocations: 89.61 kB / 428.1 MB, free: 15.73 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008808/0.05104, allocations: 1.117 MB / 429.3 MB, free: 14.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.05106, allocations: 37.7 kB / 429.3 MB, free: 14.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.05155, allocations: 1.035 MB / 430.3 MB, free: 13.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.05166, allocations: 234.2 kB / 430.6 MB, free: 13.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002542/0.05192, allocations: 337 kB / 430.9 MB, free: 12.94 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.05207, allocations: 0.5316 MB / 431.4 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.0523, allocations: 159.9 kB / 431.6 MB, free: 12.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007835/0.05308, allocations: 1.431 MB / 433 MB, free: 10.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001278/0.05436, allocations: 1.717 MB / 434.7 MB, free: 7.961 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.437e-06/0.05437, allocations: 8 kB / 434.7 MB, free: 7.953 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.001295/0.05566, allocations: 1.313 MB / 436 MB, free: 6.625 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.05569, allocations: 21 kB / 436.1 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.169e-05/0.05571, allocations: 28 kB / 436.1 MB, free: 6.578 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.05588, allocations: 83.66 kB / 436.2 MB, free: 6.492 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005949/0.05647, allocations: 355.3 kB / 436.5 MB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.05751, allocations: 2.141 MB / 438.7 MB, free: 3.883 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004618/0.05797, allocations: 95.92 kB / 438.7 MB, free: 3.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.75e-05/0.05805, allocations: 88.22 kB / 438.8 MB, free: 3.703 MB / 410.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.0002984/0.05835, allocations: 294.4 kB / 439.1 MB, free: 3.402 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.05845, allocations: 131.2 kB / 439.3 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001057/0.05856, allocations: 122.5 kB / 439.4 MB, free: 3.152 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.05856, allocations: 7.984 kB / 439.4 MB, free: 3.145 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.05857, allocations: 4 kB / 439.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.05858, allocations: 0 / 439.4 MB, free: 3.141 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001906/0.06048, allocations: 1.759 MB / 441.1 MB, free: 1.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.06049, allocations: 4 kB / 441.1 MB, free: 1.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.06069, allocations: 95.83 kB / 441.2 MB, free: 1.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000128/0.06082, allocations: 55.64 kB / 441.3 MB, free: 1.113 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.06084, allocations: 12 kB / 441.3 MB, free: 1.102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.174/0.2349, allocations: 2.169 MB / 443.5 MB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.2349, allocations: 4.438 kB / 443.5 MB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008947/0.2358, allocations: 0.8223 MB / 444.3 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001732/0.236, allocations: 109.3 kB / 444.4 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.957e-05/0.236, allocations: 22.12 kB / 444.4 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.2363, allocations: 36.52 kB / 444.5 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.2363, allocations: 53.48 kB / 444.5 MB, free: 91.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2363, allocations: 21.86 kB / 444.5 MB, free: 91.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005275/0.2369, allocations: 0.5695 MB / 445.1 MB, free: 90.87 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2369, allocations: 0 / 445.1 MB, free: 90.87 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001099/0.238, allocations: 354.2 kB / 445.5 MB, free: 90.87 MB / 410.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.0002307/0.2382, allocations: 132.3 kB / 445.6 MB, free: 90.78 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009266/0.2391, allocations: 0.8625 MB / 446.4 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.2391, allocations: 0 / 446.4 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.2394, allocations: 380.9 kB / 446.8 MB, free: 90.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005685/0.2399, allocations: 174.1 kB / 447 MB, free: 90.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002701/0.2426, allocations: 2.524 MB / 449.5 MB, free: 89.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.2429, allocations: 412.9 kB / 449.9 MB, free: 89.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004809/0.2434, allocations: 352.2 kB / 450.3 MB, free: 89.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.2435, allocations: 77.25 kB / 450.3 MB, free: 89.09 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.2435, allocations: 0 / 450.3 MB, free: 89.09 MB / 410.7 MB Notification: Performance of Templates: time 0.01469/0.2582, allocations: 10.59 MB / 460.9 MB, free: 88.03 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.5312926121987402]