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.001407/0.001407, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001593/0.001593, allocations: 160.4 kB / 24.99 MB, free: 8.805 MB / 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.9709/0.9709, allocations: 177 MB / 205.2 MB, free: 5.598 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.2794/0.2794, allocations: 34.87 MB / 296.6 MB, free: 0.4961 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.633e-06/1.633e-06, allocations: 0 / 378.8 MB, free: 2.375 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.451e-05, allocations: 12.5 kB / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.007038/0.007062, allocations: 8.35 MB / 387.1 MB, free: 9.965 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005197/0.01226, allocations: 3.401 MB / 390.5 MB, free: 6.555 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007843/0.01304, allocations: 51.75 kB / 390.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.01554, allocations: 1.464 MB / 392 MB, free: 5.035 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001633/0.01717, allocations: 0.972 MB / 393 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007705/0.01794, allocations: 0.5535 MB / 393.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.01925, allocations: 2.066 MB / 395.6 MB, free: 1.434 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.02036, allocations: 1.546 MB / 397.2 MB, free: 15.84 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007691/0.02113, allocations: 1.021 MB / 398.2 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008528/0.02199, allocations: 1.009 MB / 399.2 MB, free: 13.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.02212, allocations: 144 kB / 399.3 MB, free: 13.67 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006961/0.02282, allocations: 0.5771 MB / 399.9 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.02357, allocations: 0.7948 MB / 400.7 MB, free: 12.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.02394, allocations: 0.5338 MB / 401.2 MB, free: 11.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.02528, allocations: 1.733 MB / 403 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.02529, allocations: 4 kB / 403 MB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.02529, allocations: 0 / 403 MB, free: 10.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.0253, allocations: 0 / 403 MB, free: 10.02 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.002147/0.02745, allocations: 2.174 MB / 405.2 MB, free: 7.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.02749, allocations: 12.03 kB / 405.2 MB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/0.02829, allocations: 415.5 kB / 405.6 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009814/0.02927, allocations: 0.9275 MB / 406.5 MB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.02934, allocations: 98.83 kB / 406.6 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.02946, allocations: 120.3 kB / 406.7 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002787/0.03225, allocations: 2.045 MB / 408.8 MB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.03229, allocations: 19.88 kB / 408.8 MB, free: 3.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.735e-05/0.03238, allocations: 55.98 kB / 408.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003903/0.03277, allocations: 430 kB / 409.3 MB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002021/0.0348, allocations: 1.032 MB / 410.3 MB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007338/0.04213, allocations: 11.64 MB / 421.9 MB, free: 6.371 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.0442, allocations: 1.025 MB / 423 MB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.04445, allocations: 205.3 kB / 423.2 MB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.04615, allocations: 1.787 MB / 424.9 MB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.04618, allocations: 37.89 kB / 425 MB, free: 3.254 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 1.933e-06/0.04618, allocations: 0 / 425 MB, free: 3.254 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.00616/0.05234, allocations: 3.005 MB / 428 MB, free: 192 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.05238, allocations: 85.61 kB / 428.1 MB, free: 88 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.05345, allocations: 1.121 MB / 429.2 MB, free: 14.94 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.743e-05/0.05348, allocations: 37.7 kB / 429.2 MB, free: 14.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004819/0.05396, allocations: 1.031 MB / 430.3 MB, free: 13.86 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.05408, allocations: 234.2 kB / 430.5 MB, free: 13.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/0.05433, allocations: 333 kB / 430.8 MB, free: 13.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.05447, allocations: 0.5355 MB / 431.3 MB, free: 12.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002345/0.05471, allocations: 163.9 kB / 431.5 MB, free: 12.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007425/0.05545, allocations: 1.423 MB / 432.9 MB, free: 10.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.05655, allocations: 1.721 MB / 434.6 MB, free: 8.309 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.05656, allocations: 12 kB / 434.7 MB, free: 8.297 MB / 410.7 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.00148/0.05804, allocations: 1.313 MB / 436 MB, free: 6.969 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.05807, allocations: 16 kB / 436 MB, free: 6.953 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/0.05809, allocations: 28 kB / 436 MB, free: 6.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.05826, allocations: 83.53 kB / 436.1 MB, free: 6.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.05885, allocations: 359.4 kB / 436.4 MB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.05987, allocations: 2.149 MB / 438.6 MB, free: 4.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004667/0.06034, allocations: 87.94 kB / 438.7 MB, free: 4.133 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.057e-05/0.06041, allocations: 88.19 kB / 438.8 MB, free: 4.047 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.0002713/0.06068, allocations: 298.4 kB / 439.1 MB, free: 3.742 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.06079, allocations: 135.3 kB / 439.2 MB, free: 3.609 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001139/0.06091, allocations: 118.6 kB / 439.3 MB, free: 3.492 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.06091, allocations: 11.94 kB / 439.3 MB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.06092, allocations: 0 / 439.3 MB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.06092, allocations: 3.984 kB / 439.3 MB, free: 3.477 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001735/0.06266, allocations: 1.751 MB / 441.1 MB, free: 1.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.06266, allocations: 4 kB / 441.1 MB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.06287, allocations: 91.89 kB / 441.2 MB, free: 1.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.06299, allocations: 52.16 kB / 441.2 MB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/0.06301, allocations: 19.94 kB / 441.2 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.17/0.233, allocations: 2.165 MB / 443.4 MB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.233, allocations: 5.812 kB / 443.4 MB, free: 97.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009323/0.2339, allocations: 0.8201 MB / 444.2 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001856/0.2341, allocations: 114.4 kB / 444.3 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.541e-05/0.2342, allocations: 17.12 kB / 444.4 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.2344, allocations: 40.17 kB / 444.4 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.822e-05/0.2345, allocations: 52.3 kB / 444.4 MB, free: 97.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.2345, allocations: 20.06 kB / 444.5 MB, free: 97.11 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005462/0.235, allocations: 0.5727 MB / 445 MB, free: 96.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.235, allocations: 0 / 445 MB, free: 96.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00112/0.2362, allocations: 349.6 kB / 445.4 MB, free: 96.96 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.0002516/0.2364, allocations: 142.4 kB / 445.5 MB, free: 96.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.2375, allocations: 0.8624 MB / 446.4 MB, free: 96.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.2375, allocations: 2.906 kB / 446.4 MB, free: 96.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002652/0.2377, allocations: 380.2 kB / 446.8 MB, free: 96.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006203/0.2384, allocations: 168.3 kB / 446.9 MB, free: 96.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002828/0.2412, allocations: 2.513 MB / 449.4 MB, free: 95.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2415, allocations: 411 kB / 449.8 MB, free: 95.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004937/0.242, allocations: 352.2 kB / 450.2 MB, free: 95.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.2421, allocations: 81.02 kB / 450.3 MB, free: 95.08 MB / 410.7 MB Notification: Performance of SimCode: time 1.222e-06/0.2421, allocations: 1.781 kB / 450.3 MB, free: 95.08 MB / 410.7 MB Notification: Performance of Templates: time 0.01555/0.2576, allocations: 10.6 MB / 460.9 MB, free: 94 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.600971441017464]