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.001171/0.001171, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001992/0.003163, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001252/0.001252, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.002941, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9726/0.9726, allocations: 177.5 MB / 190 MB, free: 4.816 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.074, allocations: 53.87 MB / 243.9 MB, free: 14.88 MB / 250.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.262/0.262, allocations: 34.88 MB / 279.5 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03263/0.2946, allocations: 13.23 MB / 292.8 MB, free: 6.414 MB / 282.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.513e-06/1.513e-06, allocations: 0 / 294.1 MB, free: 5.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.018e-05, allocations: 2.859 kB / 294.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.0073/0.00732, allocations: 8.313 MB / 302.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.01336, allocations: 3.512 MB / 305.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001027/0.01439, allocations: 55.75 kB / 306 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00149/0.01588, allocations: 1.382 MB / 307.4 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001653/0.01753, allocations: 0.9369 MB / 308.3 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008062/0.01834, allocations: 0.5222 MB / 308.8 MB, free: 6.324 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001761/0.0201, allocations: 1.986 MB / 310.8 MB, free: 4.344 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.02137, allocations: 1.366 MB / 312.2 MB, free: 2.922 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001152/0.02252, allocations: 1.136 MB / 313.3 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.02367, allocations: 0.9314 MB / 314.2 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002734/0.02395, allocations: 140 kB / 314.4 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008058/0.02475, allocations: 0.585 MB / 315 MB, free: 128 kB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004657/0.02522, allocations: 0.6898 MB / 315.6 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004103/0.02563, allocations: 434.9 kB / 316.1 MB, free: 15.01 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.02707, allocations: 1.581 MB / 317.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.02708, allocations: 0 / 317.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.02708, allocations: 4 kB / 317.7 MB, free: 13.42 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.823e-05/0.02713, allocations: 0 / 317.7 MB, free: 13.42 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.002311/0.02944, allocations: 2.13 MB / 319.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.02948, allocations: 23.42 kB / 319.8 MB, free: 11.23 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006067/0.03008, allocations: 333.8 kB / 320.1 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008703/0.03095, allocations: 0.8118 MB / 320.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.031, allocations: 94.83 kB / 321 MB, free: 9.957 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/0.03112, allocations: 120.3 kB / 321.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/0.03293, allocations: 1.622 MB / 322.8 MB, free: 8.004 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.707e-05/0.03297, allocations: 15.83 kB / 322.8 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.77e-05/0.03305, allocations: 59.97 kB / 322.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003155/0.03336, allocations: 390.1 kB / 323.2 MB, free: 7.547 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.03467, allocations: 0.7336 MB / 324 MB, free: 6.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005807/0.04048, allocations: 8.3 MB / 332.3 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001592/0.04207, allocations: 0.9025 MB / 333.2 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.04222, allocations: 139.7 kB / 333.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.04393, allocations: 1.573 MB / 334.9 MB, free: 11.59 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.04396, allocations: 39.06 kB / 334.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of pre-optimization done (n=51): time 2.164e-06/0.04396, allocations: 0 / 334.9 MB, free: 11.54 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.004889/0.04885, allocations: 2.362 MB / 337.3 MB, free: 9.121 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.17e-05/0.04888, allocations: 59.91 kB / 337.3 MB, free: 9.051 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007651/0.04965, allocations: 1.013 MB / 338.4 MB, free: 8.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.04968, allocations: 41.7 kB / 338.4 MB, free: 7.973 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003897/0.05007, allocations: 0.8821 MB / 339.3 MB, free: 7.078 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.05019, allocations: 234.1 kB / 339.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002205/0.05041, allocations: 303.2 kB / 339.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.9e-05/0.0505, allocations: 361.8 kB / 340.2 MB, free: 6.184 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.05076, allocations: 186.8 kB / 340.3 MB, free: 6 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000628/0.05139, allocations: 1.061 MB / 341.4 MB, free: 4.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.05261, allocations: 1.461 MB / 342.9 MB, free: 2.613 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.05262, allocations: 8 kB / 342.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001086/0.05371, allocations: 1.056 MB / 343.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/0.05373, allocations: 30.83 kB / 344 MB, free: 1.504 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.3e-05/0.05376, allocations: 28 kB / 344 MB, free: 1.477 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001375/0.05389, allocations: 75.61 kB / 344.1 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.05457, allocations: 419.3 kB / 344.5 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009078/0.05548, allocations: 1.58 MB / 346 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.05602, allocations: 63.95 kB / 346.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.346e-05/0.05608, allocations: 80 kB / 346.2 MB, free: 15.17 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.0003296/0.05641, allocations: 258.5 kB / 346.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/0.0565, allocations: 75.95 kB / 346.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.05661, allocations: 118.8 kB / 346.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.05662, allocations: 8 kB / 346.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.05663, allocations: 0 / 346.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.05663, allocations: 7.922 kB / 346.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001466/0.0581, allocations: 1.448 MB / 348.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.0581, allocations: 4 kB / 348.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002198/0.05832, allocations: 107.8 kB / 348.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.05844, allocations: 103.3 kB / 348.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.05854, allocations: 52.14 kB / 348.3 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.484e-05/0.05856, allocations: 16 kB / 348.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001051/0.05962, allocations: 1.63 MB / 350 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.05962, allocations: 4 kB / 350 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005022/0.06012, allocations: 0.629 MB / 350.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.06018, allocations: 20.06 kB / 350.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.06038, allocations: 23.92 kB / 350.7 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.06043, allocations: 43.86 kB / 350.7 MB, free: 10.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.06045, allocations: 19.94 kB / 350.7 MB, free: 10.35 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003007/0.06075, allocations: 402.2 kB / 351.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06075, allocations: 0 / 351.1 MB, free: 9.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009092/0.06166, allocations: 356 kB / 351.5 MB, free: 9.602 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.000227/0.06189, allocations: 120.2 kB / 351.6 MB, free: 9.473 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007468/0.06264, allocations: 0.7657 MB / 352.4 MB, free: 8.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.461e-05/0.06268, allocations: 35.84 kB / 352.4 MB, free: 8.672 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002627/0.06294, allocations: 326.8 kB / 352.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.06385, allocations: 1.319 MB / 354 MB, free: 6.801 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004254/0.0681, allocations: 2.564 MB / 356.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.06843, allocations: 408.2 kB / 357 MB, free: 3.719 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003507/0.06879, allocations: 145.7 kB / 357.1 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002896/0.06908, allocations: 237.3 kB / 357.4 MB, free: 3.34 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.06908, allocations: 0 / 357.4 MB, free: 3.34 MB / 346.7 MB Notification: Performance of Templates: time 0.0162/0.08527, allocations: 10.59 MB / 368 MB, free: 8.918 MB / 362.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.133434305898845]