Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.001919/0.001919, allocations: 85.23 kB / 20.68 MB, free: 1.039 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.001565/0.001565, allocations: 158.4 kB / 23.95 MB, free: 4.168 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.467/1.467, allocations: 177 MB / 204.1 MB, free: 9.168 MB / 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.219/0.219, allocations: 34.26 MB / 294.8 MB, free: 14.53 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.385e-06/2.385e-06, allocations: 0 / 442.6 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.407e-05/3.646e-05, allocations: 4.812 kB / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2542/0.2543, allocations: 9.945 MB / 452.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008465/0.2627, allocations: 3.884 MB / 456.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001769/0.2645, allocations: 85.22 kB / 456.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004843/0.2694, allocations: 2.54 MB / 459.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.2745, allocations: 1.958 MB / 461.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001818/0.2763, allocations: 0.8542 MB / 461.9 MB, free: 9.375 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007162/0.2835, allocations: 5.2 MB / 467.1 MB, free: 7.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004515/0.288, allocations: 3.274 MB / 470.4 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004003/0.292, allocations: 2.428 MB / 472.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.2958, allocations: 2.497 MB / 475.3 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008139/0.2966, allocations: 339.2 kB / 475.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.2987, allocations: 0.9154 MB / 476.6 MB, free: 2.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001517/0.3002, allocations: 2.059 MB / 478.6 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001742/0.3019, allocations: 1.316 MB / 479.9 MB, free: 480 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008595/0.3105, allocations: 6.872 MB / 486.8 MB, free: 9.727 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3105, allocations: 4 kB / 486.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3105, allocations: 4 kB / 486.8 MB, free: 9.719 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001687/0.3107, allocations: 0 / 486.8 MB, free: 9.719 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01141/0.3221, allocations: 4.896 MB / 491.7 MB, free: 4.762 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3221, allocations: 12.03 kB / 491.7 MB, free: 4.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008702/0.3308, allocations: 2.127 MB / 493.9 MB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004649/0.3355, allocations: 2.257 MB / 496.1 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.3357, allocations: 250.7 kB / 496.4 MB, free: 72 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006248/0.3363, allocations: 328.2 kB / 496.7 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.3562, allocations: 10.35 MB / 0.4951 GB, free: 4.578 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000129/0.3564, allocations: 55.56 kB / 0.4952 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005414/0.3569, allocations: 159.9 kB / 0.4953 GB, free: 4.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003337/0.3602, allocations: 1.904 MB / 0.4972 GB, free: 2.453 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01814/0.3784, allocations: 8.178 MB / 0.5052 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0479/0.4263, allocations: 36.93 MB / 0.5413 GB, free: 4.156 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008718/0.435, allocations: 2.856 MB / 0.5441 GB, free: 1.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.4366, allocations: 0.9556 MB / 0.545 GB, free: 280 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00872/0.4454, allocations: 4.414 MB / 0.5493 GB, free: 11.82 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.4454, allocations: 55.48 kB / 0.5493 GB, free: 11.76 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 3.897e-06/0.4454, allocations: 0 / 0.5493 GB, free: 11.76 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02619/0.4716, allocations: 9.982 MB / 0.5591 GB, free: 1.73 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.4718, allocations: 196.9 kB / 0.5593 GB, free: 1.492 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/0.4776, allocations: 3.94 MB / 0.5631 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001464/0.4777, allocations: 45.7 kB / 0.5632 GB, free: 13.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002724/0.4805, allocations: 3.303 MB / 0.5664 GB, free: 10.16 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000663/0.4811, allocations: 0.6513 MB / 0.567 GB, free: 9.508 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001632/0.4828, allocations: 1.211 MB / 0.5682 GB, free: 8.285 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.4829, allocations: 305.1 kB / 0.5685 GB, free: 7.984 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/0.486, allocations: 1.675 MB / 0.5701 GB, free: 6.305 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/0.4928, allocations: 5.604 MB / 0.5756 GB, free: 14.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01089/0.5037, allocations: 7.822 MB / 0.5833 GB, free: 5.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001023/0.5038, allocations: 43.94 kB / 0.5833 GB, free: 4.969 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01306/0.5169, allocations: 6.942 MB / 0.5901 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.517, allocations: 64.47 kB / 0.5901 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001562/0.5171, allocations: 136 kB / 0.5903 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.5173, allocations: 187.8 kB / 0.5904 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.5219, allocations: 1.451 MB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002762/0.5222, allocations: 270.9 kB / 0.5921 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004445/0.5266, allocations: 407.4 kB / 0.5925 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005778/0.5272, allocations: 376 kB / 0.5929 GB, free: 11.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003481/0.5307, allocations: 2.056 MB / 0.5949 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/0.5314, allocations: 325.8 kB / 0.5952 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006928/0.5321, allocations: 374.6 kB / 0.5955 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.153e-05/0.5321, allocations: 20 kB / 0.5956 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.5321, allocations: 0 / 0.5956 GB, free: 8.383 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.5321, allocations: 3.984 kB / 0.5956 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008752/0.5409, allocations: 4.739 MB / 0.6002 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/0.5409, allocations: 16 kB / 0.6002 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/0.542, allocations: 287.5 kB / 0.6005 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.53e-05/0.542, allocations: 24 kB / 0.6005 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-05/0.5421, allocations: 48 kB / 0.6006 GB, free: 3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.383e-05/0.5421, allocations: 39.8 kB / 0.6006 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-05/0.5422, allocations: 27.88 kB / 0.6006 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004715/0.5469, allocations: 3.257 MB / 0.6038 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/0.5477, allocations: 337.8 kB / 0.6041 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003474/0.548, allocations: 47.98 kB / 0.6042 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.5494, allocations: 123.7 kB / 0.6043 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002004/0.5496, allocations: 147.4 kB / 0.6044 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/0.5498, allocations: 75.92 kB / 0.6045 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003887/0.5536, allocations: 2.277 MB / 0.6067 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.5536, allocations: 0 / 0.6067 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004807/0.5585, allocations: 0.9842 MB / 0.6077 GB, free: 11.47 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004795/0.5589, allocations: 214.6 kB / 0.6079 GB, free: 11.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006896/0.5658, allocations: 3.711 MB / 0.6115 GB, free: 7.562 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/0.5658, allocations: 8.25 kB / 0.6115 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/0.567, allocations: 0.7097 MB / 0.6122 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.5697, allocations: 418.2 kB / 0.6126 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/0.5859, allocations: 8.677 MB / 0.6211 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004358/0.5902, allocations: 2.633 MB / 0.6237 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004346/0.5946, allocations: 1.779 MB / 0.6254 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000676/0.5952, allocations: 232.5 kB / 0.6256 GB, free: 8.809 MB / 0.5294 GB Notification: Performance of SimCode: time 2.023e-06/0.5952, allocations: 3.938 kB / 0.6256 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of Templates: time 0.2567/0.852, allocations: 21.73 MB / 0.6468 GB, free: 163.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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: 6.890196528285742]