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.002286/0.002286, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002022/0.002022, allocations: 164.8 kB / 24.27 MB, free: 156 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 1.598/1.598, allocations: 177 MB / 204.5 MB, free: 5.625 MB / 186.7 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.3626/0.3626, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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 1.462e-06/1.462e-06, allocations: 0 / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.177e-05/3.323e-05, allocations: 7.719 kB / 377.2 MB, free: 2.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01559/0.01562, allocations: 10.92 MB / 388.1 MB, free: 7.945 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009514/0.02514, allocations: 3.964 MB / 392.1 MB, free: 3.969 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.02677, allocations: 83.56 kB / 392.2 MB, free: 3.887 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005804/0.03257, allocations: 2.659 MB / 394.8 MB, free: 1.219 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005391/0.03796, allocations: 1.971 MB / 396.8 MB, free: 15.24 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.03997, allocations: 0.8537 MB / 397.7 MB, free: 14.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.008878/0.04885, allocations: 5.199 MB / 402.9 MB, free: 9.176 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006381/0.05523, allocations: 3.369 MB / 406.2 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00467/0.0599, allocations: 2.44 MB / 408.7 MB, free: 3.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004597/0.0645, allocations: 2.541 MB / 411.2 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008457/0.06534, allocations: 344 kB / 411.6 MB, free: 440 kB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.0675, allocations: 0.9166 MB / 412.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002544/0.07004, allocations: 2.073 MB / 414.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002161/0.0722, allocations: 1.324 MB / 415.9 MB, free: 12.11 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009729/0.08193, allocations: 6.884 MB / 422.7 MB, free: 5.199 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.08194, allocations: 0 / 422.7 MB, free: 5.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.08194, allocations: 0 / 422.7 MB, free: 5.199 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002043/0.08214, allocations: 0 / 422.7 MB, free: 5.199 MB / 394.7 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.01224/0.09438, allocations: 5.724 MB / 428.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.09443, allocations: 16.02 kB / 428.5 MB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009209/0.1036, allocations: 2.518 MB / 431 MB, free: 12.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006138/0.1098, allocations: 2.104 MB / 433.1 MB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/0.1101, allocations: 254.7 kB / 433.4 MB, free: 10.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.1112, allocations: 328.2 kB / 433.7 MB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.1293, allocations: 7.017 MB / 440.7 MB, free: 2.031 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001627/0.1295, allocations: 51.62 kB / 440.7 MB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004857/0.13, allocations: 155.9 kB / 440.9 MB, free: 1.828 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1674/0.2974, allocations: 1.904 MB / 442.8 MB, free: 92.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01282/0.3102, allocations: 3.605 MB / 446.4 MB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04339/0.3536, allocations: 48.86 MB / 495.3 MB, free: 53.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006862/0.3605, allocations: 2.093 MB / 497.4 MB, free: 53.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009923/0.3614, allocations: 0.5216 MB / 497.9 MB, free: 53.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007715/0.3692, allocations: 4.054 MB / 0.4902 GB, free: 50.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3692, allocations: 60.55 kB / 0.4902 GB, free: 50.85 MB / 410.7 MB Notification: Performance of pre-optimization done (n=148): time 4.598e-06/0.3692, allocations: 0 / 0.4902 GB, free: 50.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=160): time 0.0232/0.3924, allocations: 8.203 MB / 0.4982 GB, free: 47.33 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.3925, allocations: 195.6 kB / 0.4984 GB, free: 47.11 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006766/0.3992, allocations: 4.443 MB / 0.5028 GB, free: 45.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002543/0.3995, allocations: 45.64 kB / 0.5028 GB, free: 45.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002681/0.4022, allocations: 3.662 MB / 0.5064 GB, free: 42.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000838/0.403, allocations: 0.7161 MB / 0.5071 GB, free: 41.79 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/0.4049, allocations: 1.532 MB / 0.5086 GB, free: 40.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.81e-05/0.4049, allocations: 476.8 kB / 0.509 GB, free: 40.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001389/0.4063, allocations: 0.6601 MB / 0.5097 GB, free: 40.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004314/0.4106, allocations: 6.629 MB / 0.5162 GB, free: 32.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005986/0.4166, allocations: 7.915 MB / 0.5239 GB, free: 22.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001607/0.4168, allocations: 36 kB / 0.5239 GB, free: 22.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.009952/0.4267, allocations: 5.258 MB / 0.5291 GB, free: 17.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.079e-05/0.4268, allocations: 64.7 kB / 0.5291 GB, free: 17.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/0.4269, allocations: 136 kB / 0.5292 GB, free: 17.03 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001566/0.4271, allocations: 180 kB / 0.5294 GB, free: 16.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004115/0.4312, allocations: 1.437 MB / 0.5308 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000175/0.4314, allocations: 269.2 kB / 0.5311 GB, free: 15.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/0.4358, allocations: 370.4 kB / 0.5314 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000604/0.4364, allocations: 386.4 kB / 0.5318 GB, free: 14.66 MB / 410.7 MB 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.001746/0.4381, allocations: 0.7676 MB / 0.5325 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.4388, allocations: 369.8 kB / 0.5329 GB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.4394, allocations: 322.8 kB / 0.5332 GB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.4394, allocations: 20 kB / 0.5332 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.199e-05/0.4394, allocations: 0 / 0.5332 GB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4394, allocations: 10.98 kB / 0.5332 GB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009854/0.4493, allocations: 5.878 MB / 0.539 GB, free: 7.629 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.928e-05/0.4493, allocations: 16 kB / 0.539 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009774/0.4503, allocations: 287.1 kB / 0.5393 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.978e-05/0.4503, allocations: 28 kB / 0.5393 GB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.919e-05/0.4504, allocations: 45.73 kB / 0.5393 GB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.105e-05/0.4504, allocations: 35.44 kB / 0.5394 GB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-05/0.4504, allocations: 32.52 kB / 0.5394 GB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/0.4534, allocations: 2.63 MB / 0.542 GB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008936/0.4543, allocations: 332.7 kB / 0.5423 GB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003528/0.4546, allocations: 56.36 kB / 0.5423 GB, free: 4.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.4558, allocations: 96.69 kB / 0.5424 GB, free: 3.953 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.456, allocations: 153.1 kB / 0.5426 GB, free: 3.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.833e-05/0.4561, allocations: 66.02 kB / 0.5426 GB, free: 3.785 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002749/0.4588, allocations: 1.792 MB / 0.5444 GB, free: 2.281 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4588, allocations: 0 / 0.5444 GB, free: 2.281 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006262/0.4651, allocations: 0.981 MB / 0.5454 GB, free: 1.301 MB / 410.7 MB 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.0005415/0.4657, allocations: 208.5 kB / 0.5456 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006135/0.4718, allocations: 2.935 MB / 0.5484 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.296e-05/0.4718, allocations: 8.062 kB / 0.5484 GB, free: 14.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001069/0.4729, allocations: 0.5119 MB / 0.5489 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/0.476, allocations: 441.4 kB / 0.5493 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01645/0.4924, allocations: 7.769 MB / 0.5569 GB, free: 6.062 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003528/0.4959, allocations: 2.395 MB / 0.5593 GB, free: 3.898 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004056/0.5, allocations: 1.571 MB / 0.5608 GB, free: 2.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006301/0.5006, allocations: 232.5 kB / 0.561 GB, free: 2.098 MB / 426.7 MB Notification: Performance of SimCode: time 2.625e-06/0.5006, allocations: 0 / 0.561 GB, free: 2.098 MB / 426.7 MB Notification: Performance of Templates: time 0.05585/0.5565, allocations: 21.74 MB / 0.5823 GB, free: 12.95 MB / 458.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 240] 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.686677131103352]