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.00101/0.00101, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001078/0.001078, allocations: 160.5 kB / 24.55 MB, free: 20 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.9603/0.9603, allocations: 177 MB / 204.8 MB, free: 5.578 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.2491/0.2491, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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.733e-06/1.733e-06, allocations: 0 / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/2.907e-05, allocations: 4.844 kB / 378.8 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01061/0.01063, allocations: 8.382 MB / 387.2 MB, free: 9.648 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007729/0.01836, allocations: 3.413 MB / 390.6 MB, free: 6.227 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.01949, allocations: 51.75 kB / 390.6 MB, free: 6.176 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.02124, allocations: 1.464 MB / 392.1 MB, free: 4.707 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002036/0.02328, allocations: 0.972 MB / 393.1 MB, free: 3.73 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000817/0.02409, allocations: 0.5574 MB / 393.6 MB, free: 3.172 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002209/0.0263, allocations: 2.061 MB / 395.7 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001836/0.02814, allocations: 1.549 MB / 397.2 MB, free: 15.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001541/0.02968, allocations: 1.056 MB / 398.3 MB, free: 14.46 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001219/0.0309, allocations: 0.9821 MB / 399.3 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002391/0.03114, allocations: 140 kB / 399.4 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.03188, allocations: 0.5655 MB / 400 MB, free: 12.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005229/0.03241, allocations: 0.7793 MB / 400.8 MB, free: 11.99 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004795/0.03289, allocations: 0.5376 MB / 401.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001491/0.03438, allocations: 1.729 MB / 403 MB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.03438, allocations: 0 / 403 MB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.03438, allocations: 0 / 403 MB, free: 9.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.269e-05/0.03441, allocations: 0 / 403 MB, free: 9.715 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.002197/0.0366, allocations: 2.147 MB / 405.2 MB, free: 7.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.03664, allocations: 8.031 kB / 405.2 MB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008036/0.03745, allocations: 415.5 kB / 405.6 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009768/0.03843, allocations: 0.9055 MB / 406.5 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.03849, allocations: 98.83 kB / 406.6 MB, free: 6.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000151/0.03864, allocations: 116.4 kB / 406.7 MB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002884/0.04152, allocations: 2.049 MB / 408.7 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.04157, allocations: 11.89 kB / 408.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-05/0.04166, allocations: 59.97 kB / 408.8 MB, free: 3.566 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004096/0.04207, allocations: 430 kB / 409.2 MB, free: 3.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002148/0.04422, allocations: 1.028 MB / 410.3 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007486/0.0517, allocations: 11.64 MB / 421.9 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.05374, allocations: 1.025 MB / 422.9 MB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002487/0.05399, allocations: 201.3 kB / 423.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/0.05589, allocations: 1.794 MB / 424.9 MB, free: 3.055 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.05592, allocations: 45.83 kB / 425 MB, free: 3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 3.407e-06/0.05592, allocations: 4 kB / 425 MB, free: 2.996 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.006264/0.06219, allocations: 3.001 MB / 428 MB, free: 15.93 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.869e-05/0.06224, allocations: 81.61 kB / 428 MB, free: 15.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009754/0.06321, allocations: 1.134 MB / 429.2 MB, free: 14.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.06324, allocations: 41.64 kB / 429.2 MB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000507/0.06375, allocations: 1.043 MB / 430.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.06388, allocations: 234.2 kB / 430.5 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.06414, allocations: 341 kB / 430.8 MB, free: 13.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.0643, allocations: 0.5355 MB / 431.4 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.06454, allocations: 163.9 kB / 431.5 MB, free: 12.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.06535, allocations: 1.48 MB / 433 MB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.06652, allocations: 1.766 MB / 434.8 MB, free: 7.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/0.06653, allocations: 12 kB / 434.8 MB, free: 7.867 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.00139/0.06792, allocations: 1.344 MB / 436.1 MB, free: 6.508 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.738e-05/0.06795, allocations: 20 kB / 436.1 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.06797, allocations: 28 kB / 436.2 MB, free: 6.461 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001698/0.06814, allocations: 79.66 kB / 436.3 MB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006505/0.06879, allocations: 371.8 kB / 436.6 MB, free: 6.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.06989, allocations: 2.133 MB / 438.7 MB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005846/0.07047, allocations: 103.9 kB / 438.8 MB, free: 3.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.852e-05/0.07054, allocations: 92.12 kB / 438.9 MB, free: 3.57 MB / 410.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.000358/0.0709, allocations: 302.5 kB / 439.2 MB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.07102, allocations: 131.3 kB / 439.4 MB, free: 3.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.07113, allocations: 118.8 kB / 439.5 MB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.07113, allocations: 7.938 kB / 439.5 MB, free: 3.008 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.07114, allocations: 4 kB / 439.5 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.07115, allocations: 3.984 kB / 439.5 MB, free: 3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001897/0.07304, allocations: 1.755 MB / 441.2 MB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.07305, allocations: 4 kB / 441.3 MB, free: 1.129 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.07326, allocations: 92.39 kB / 441.3 MB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001246/0.07338, allocations: 55.59 kB / 441.4 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.0734, allocations: 16 kB / 441.4 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1586/0.232, allocations: 2.165 MB / 443.6 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.232, allocations: 3.688 kB / 443.6 MB, free: 91.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008798/0.2329, allocations: 0.8284 MB / 444.4 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.2331, allocations: 113.9 kB / 444.5 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.303e-05/0.2332, allocations: 14.72 kB / 444.5 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002467/0.2334, allocations: 42.16 kB / 444.6 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.954e-05/0.2335, allocations: 53.47 kB / 444.6 MB, free: 91.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.2335, allocations: 20.58 kB / 444.6 MB, free: 91.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005326/0.234, allocations: 0.5747 MB / 445.2 MB, free: 90.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.234, allocations: 0 / 445.2 MB, free: 90.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001062/0.2351, allocations: 358.4 kB / 445.6 MB, free: 90.9 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.0002363/0.2353, allocations: 135.7 kB / 445.7 MB, free: 90.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009399/0.2363, allocations: 0.8732 MB / 446.6 MB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2363, allocations: 2.938 kB / 446.6 MB, free: 90.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.2365, allocations: 380.7 kB / 447 MB, free: 90.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005339/0.237, allocations: 178.4 kB / 447.1 MB, free: 90.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002638/0.2397, allocations: 2.512 MB / 449.6 MB, free: 89.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.2399, allocations: 410.9 kB / 450 MB, free: 89.13 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004981/0.2404, allocations: 355.5 kB / 450.4 MB, free: 89.12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2405, allocations: 82 kB / 450.5 MB, free: 89.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.563e-06/0.2405, allocations: 0 / 450.5 MB, free: 89.11 MB / 410.7 MB Notification: Performance of Templates: time 0.01666/0.2572, allocations: 11.15 MB / 461.6 MB, free: 87.98 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.4483895688317716]