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.001316/0.001316, allocations: 117.2 kB / 18.45 MB, free: 4.594 MB / 14.72 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.001354/0.001354, allocations: 206.6 kB / 21.41 MB, free: 1.645 MB / 14.72 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 1.523/1.523, allocations: 227.4 MB / 251.7 MB, free: 80 kB / 190.1 MB " [Timeout remaining time 178] 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.2378/0.2378, allocations: 46.16 MB / 351.1 MB, free: 14.3 MB / 286.1 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 0.002288/0.002288, allocations: 81.3 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1403, allocations: 62.45 MB / 0.5397 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.PrismaticInit): time 0.01108/0.1514, allocations: 8.641 MB / 0.5481 GB, free: 11.56 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007692/0.1592, allocations: 3.465 MB / 0.5515 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001307/0.1605, allocations: 47.88 kB / 0.5516 GB, free: 8.031 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002891/0.1634, allocations: 1.363 MB / 0.5529 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002596/0.1661, allocations: 0.9048 MB / 0.5538 GB, free: 5.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.1673, allocations: 0.5186 MB / 0.5543 GB, free: 5.238 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002379/0.1696, allocations: 1.741 MB / 0.556 GB, free: 3.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.1717, allocations: 1.651 MB / 0.5576 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009541/0.1726, allocations: 0.6621 MB / 0.5582 GB, free: 1.137 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.1738, allocations: 0.888 MB / 0.5591 GB, free: 252 kB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.1741, allocations: 136 kB / 0.5592 GB, free: 116 kB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001165/0.1752, allocations: 0.5773 MB / 0.5598 GB, free: 15.54 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007571/0.176, allocations: 0.7208 MB / 0.5605 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009309/0.1769, allocations: 0.8198 MB / 0.5613 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003109/0.1801, allocations: 2.483 MB / 0.5637 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.9e-06/0.1801, allocations: 0 / 0.5637 GB, free: 11.5 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1801, allocations: 0 / 0.5637 GB, free: 11.5 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.208e-05/0.1801, allocations: 0 / 0.5637 GB, free: 11.5 MB / 430.1 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.003717/0.1838, allocations: 2.034 MB / 0.5657 GB, free: 9.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.885e-05/0.1839, allocations: 12.03 kB / 0.5657 GB, free: 9.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.185, allocations: 271.6 kB / 0.566 GB, free: 9.125 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.187, allocations: 1.068 MB / 0.567 GB, free: 8.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/0.1871, allocations: 94.58 kB / 0.5671 GB, free: 7.918 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/0.1873, allocations: 131.9 kB / 0.5672 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005558/0.1928, allocations: 2.996 MB / 0.5702 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/0.1929, allocations: 19.88 kB / 0.5702 GB, free: 4.578 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000126/0.193, allocations: 51.97 kB / 0.5702 GB, free: 4.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006531/0.1937, allocations: 438 kB / 0.5707 GB, free: 4.098 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004796/0.1985, allocations: 2.175 MB / 0.5728 GB, free: 1.914 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.2117, allocations: 10.7 MB / 0.5832 GB, free: 6.941 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004111/0.2159, allocations: 1.249 MB / 0.5844 GB, free: 5.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006606/0.2166, allocations: 411.3 kB / 0.5848 GB, free: 5.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004235/0.2208, allocations: 3.092 MB / 0.5879 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.2209, allocations: 35 kB / 0.5879 GB, free: 1.867 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 2.384e-06/0.2209, allocations: 4 kB / 0.5879 GB, free: 1.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01269/0.2336, allocations: 3.825 MB / 0.5916 GB, free: 13.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.311e-05/0.2337, allocations: 81.67 kB / 0.5917 GB, free: 13.82 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/0.2355, allocations: 1.182 MB / 0.5929 GB, free: 12.63 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.2355, allocations: 37.7 kB / 0.5929 GB, free: 12.59 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/0.2364, allocations: 0.9701 MB / 0.5938 GB, free: 11.61 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/0.2366, allocations: 222.2 kB / 0.5941 GB, free: 11.39 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.237, allocations: 323.3 kB / 0.5944 GB, free: 11.06 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2372, allocations: 301.1 kB / 0.5947 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/0.2379, allocations: 419.7 kB / 0.5951 GB, free: 10.36 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.2394, allocations: 1.258 MB / 0.5963 GB, free: 8.688 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002418/0.2418, allocations: 1.81 MB / 0.5981 GB, free: 6.465 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/0.2418, allocations: 8 kB / 0.5981 GB, free: 6.457 MB / 462.1 MB Notification: Performance of matching and sorting (n=198) (initialization): time 0.003062/0.2449, allocations: 1.754 MB / 0.5998 GB, free: 4.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.336e-05/0.245, allocations: 20 kB / 0.5998 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.523e-05/0.245, allocations: 28 kB / 0.5998 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.2452, allocations: 80.83 kB / 0.5999 GB, free: 4.562 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/0.2464, allocations: 363.3 kB / 0.6002 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002014/0.2484, allocations: 1.877 MB / 0.6021 GB, free: 2.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.2494, allocations: 76 kB / 0.6021 GB, free: 2.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.2496, allocations: 84 kB / 0.6022 GB, free: 2.031 MB / 462.1 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.001105/0.2507, allocations: 0.6478 MB / 0.6029 GB, free: 1.371 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.2509, allocations: 119.2 kB / 0.603 GB, free: 1.254 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002636/0.2512, allocations: 135.3 kB / 0.6031 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.2512, allocations: 8 kB / 0.6031 GB, free: 1.109 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/0.2512, allocations: 4 kB / 0.6031 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2512, allocations: 0 / 0.6031 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2841/0.5353, allocations: 2.236 MB / 0.6053 GB, free: 60.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.5354, allocations: 4.094 kB / 0.6053 GB, free: 60.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004061/0.5358, allocations: 96.28 kB / 0.6054 GB, free: 60.49 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002045/0.536, allocations: 64.39 kB / 0.6055 GB, free: 60.48 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.656e-05/0.536, allocations: 16.09 kB / 0.6055 GB, free: 60.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/0.5375, allocations: 1.942 MB / 0.6074 GB, free: 58.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5375, allocations: 4.156 kB / 0.6074 GB, free: 58.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.5392, allocations: 1.119 MB / 0.6085 GB, free: 58.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.5394, allocations: 188 kB / 0.6086 GB, free: 58.33 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.5395, allocations: 17.27 kB / 0.6087 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003559/0.5399, allocations: 29.66 kB / 0.6087 GB, free: 58.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.54, allocations: 49 kB / 0.6087 GB, free: 58.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.54, allocations: 22.05 kB / 0.6088 GB, free: 58.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.5413, allocations: 0.7529 MB / 0.6095 GB, free: 58 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5413, allocations: 3.875 kB / 0.6095 GB, free: 58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001471/0.5428, allocations: 299.5 kB / 0.6098 GB, free: 57.97 MB / 462.1 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.0002143/0.543, allocations: 126.2 kB / 0.6099 GB, free: 57.87 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.5451, allocations: 1.115 MB / 0.611 GB, free: 57.44 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.5451, allocations: 1.406 kB / 0.611 GB, free: 57.44 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.5457, allocations: 417.1 kB / 0.6114 GB, free: 57.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.5467, allocations: 188.3 kB / 0.6116 GB, free: 57.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004787/0.5515, allocations: 2.843 MB / 0.6143 GB, free: 55.78 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001346/0.5529, allocations: 1.449 MB / 0.6158 GB, free: 54.94 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001277/0.5542, allocations: 407.8 kB / 0.6161 GB, free: 54.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.5544, allocations: 79.56 kB / 0.6162 GB, free: 54.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5544, allocations: 0 / 0.6162 GB, free: 54.89 MB / 462.1 MB Notification: Performance of Templates: time 0.02829/0.5827, allocations: 10.74 MB / 0.6267 GB, free: 52.18 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.935222911648452]