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.0008465/0.0008465, allocations: 85.8 kB / 21.42 MB, free: 3.07 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.001057/0.001057, allocations: 162.4 kB / 24.82 MB, free: 8.777 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.9809/0.9809, allocations: 177 MB / 205.1 MB, free: 5.484 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.2934/0.2934, allocations: 34.87 MB / 296.6 MB, free: 500 kB / 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.774e-06/1.774e-06, allocations: 0 / 379.2 MB, free: 1.816 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.626e-05/1.804e-05, allocations: 2.312 kB / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.006991/0.007009, allocations: 8.183 MB / 387.4 MB, free: 9.582 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006289/0.0133, allocations: 3.381 MB / 390.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.01457, allocations: 51.75 kB / 390.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001804/0.01637, allocations: 1.448 MB / 392.3 MB, free: 4.688 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.01835, allocations: 0.9643 MB / 393.3 MB, free: 3.719 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009299/0.01928, allocations: 0.5652 MB / 393.8 MB, free: 3.152 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.02146, allocations: 2.052 MB / 395.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001636/0.02309, allocations: 1.553 MB / 397.4 MB, free: 15.5 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.02451, allocations: 1.056 MB / 398.5 MB, free: 14.45 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.02563, allocations: 0.9743 MB / 399.5 MB, free: 13.47 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.02584, allocations: 136 kB / 399.6 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008192/0.02666, allocations: 0.5732 MB / 400.2 MB, free: 12.76 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005649/0.02722, allocations: 0.7871 MB / 401 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005177/0.02774, allocations: 0.5298 MB / 401.5 MB, free: 11.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001784/0.02952, allocations: 1.721 MB / 403.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.02953, allocations: 8 kB / 403.2 MB, free: 9.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.02953, allocations: 4 kB / 403.2 MB, free: 9.703 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.195e-05/0.02956, allocations: 0 / 403.2 MB, free: 9.703 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.002345/0.03191, allocations: 2.037 MB / 405.3 MB, free: 7.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.03195, allocations: 12.03 kB / 405.3 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007673/0.03272, allocations: 399.5 kB / 405.7 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.03363, allocations: 0.843 MB / 406.5 MB, free: 6.344 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/0.03368, allocations: 90.83 kB / 406.6 MB, free: 6.254 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.03381, allocations: 124.3 kB / 406.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.03586, allocations: 1.791 MB / 408.5 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.255e-05/0.03589, allocations: 11.89 kB / 408.5 MB, free: 4.055 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.847e-05/0.03597, allocations: 55.97 kB / 408.6 MB, free: 4 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003186/0.03629, allocations: 410.1 kB / 409 MB, free: 3.598 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001363/0.03765, allocations: 0.7456 MB / 409.7 MB, free: 2.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008366/0.04602, allocations: 11.5 MB / 421.2 MB, free: 7.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/0.04799, allocations: 0.988 MB / 422.2 MB, free: 6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/0.04819, allocations: 181.3 kB / 422.4 MB, free: 5.816 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002155/0.05035, allocations: 1.759 MB / 424.1 MB, free: 4.031 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.05039, allocations: 41.89 kB / 424.2 MB, free: 3.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=51): time 1.964e-06/0.05039, allocations: 0 / 424.2 MB, free: 3.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=57): time 0.005953/0.05634, allocations: 2.663 MB / 426.8 MB, free: 1.258 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.719e-05/0.05638, allocations: 85.55 kB / 426.9 MB, free: 1.156 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008637/0.05724, allocations: 1.129 MB / 428.1 MB, free: 8 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.05728, allocations: 37.7 kB / 428.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005632/0.05784, allocations: 1.058 MB / 429.2 MB, free: 14.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.05798, allocations: 226.2 kB / 429.4 MB, free: 14.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.05825, allocations: 348.8 kB / 429.7 MB, free: 14.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.05842, allocations: 0.5432 MB / 430.3 MB, free: 13.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.05861, allocations: 151.9 kB / 430.4 MB, free: 13.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007498/0.05936, allocations: 1.453 MB / 431.9 MB, free: 11.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.06073, allocations: 1.739 MB / 433.6 MB, free: 9.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.469e-05/0.06074, allocations: 8 kB / 433.6 MB, free: 9.242 MB / 410.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.001227/0.06197, allocations: 1.243 MB / 434.8 MB, free: 7.984 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.561e-05/0.06199, allocations: 20 kB / 434.9 MB, free: 7.965 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.06202, allocations: 28 kB / 434.9 MB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/0.06216, allocations: 84.53 kB / 435 MB, free: 7.852 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005779/0.06273, allocations: 367.3 kB / 435.3 MB, free: 7.492 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00106/0.06379, allocations: 2.11 MB / 437.4 MB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/0.06442, allocations: 64 kB / 437.5 MB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.035e-05/0.06448, allocations: 72 kB / 437.6 MB, free: 5.137 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.000434/0.06492, allocations: 306.5 kB / 437.9 MB, free: 4.824 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.06505, allocations: 131.2 kB / 438 MB, free: 4.695 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.06516, allocations: 118.8 kB / 438.1 MB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.06516, allocations: 4 kB / 438.1 MB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.06517, allocations: 3.938 kB / 438.1 MB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.06518, allocations: 7.922 kB / 438.1 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.06741, allocations: 1.727 MB / 439.9 MB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.06742, allocations: 8.062 kB / 439.9 MB, free: 2.715 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.0676, allocations: 95.95 kB / 440 MB, free: 2.621 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/0.0677, allocations: 43.66 kB / 440 MB, free: 2.574 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.06772, allocations: 20 kB / 440 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009886/0.06871, allocations: 2.135 MB / 442.2 MB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.06871, allocations: 7.938 kB / 442.2 MB, free: 308 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.197/0.2657, allocations: 0.7751 MB / 442.9 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002576/0.266, allocations: 111.5 kB / 443.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.026e-05/0.2661, allocations: 13.72 kB / 443.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.2663, allocations: 18.31 kB / 443.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.2664, allocations: 50.2 kB / 443.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/0.2664, allocations: 15.22 kB / 443.1 MB, free: 92.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004953/0.2669, allocations: 0.5381 MB / 443.7 MB, free: 92.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2669, allocations: 0 / 443.7 MB, free: 92.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001301/0.2682, allocations: 362.7 kB / 444 MB, free: 92.34 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.0002649/0.2684, allocations: 133.3 kB / 444.2 MB, free: 92.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001076/0.2695, allocations: 0.8312 MB / 445 MB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.2695, allocations: 0 / 445 MB, free: 92.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2698, allocations: 359.9 kB / 445.4 MB, free: 91.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006061/0.2704, allocations: 171.1 kB / 445.5 MB, free: 91.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.2736, allocations: 2.512 MB / 448 MB, free: 90.67 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.274, allocations: 405.5 kB / 448.4 MB, free: 90.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003453/0.2743, allocations: 155.8 kB / 448.6 MB, free: 90.57 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/0.2746, allocations: 269.9 kB / 448.8 MB, free: 90.51 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.2746, allocations: 0.7656 kB / 448.8 MB, free: 90.51 MB / 410.7 MB Notification: Performance of Templates: time 0.01743/0.292, allocations: 11.41 MB / 460.3 MB, free: 89.44 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.6113330158405006]