Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001324/0.001324, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 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.001569/0.001569, allocations: 221.1 kB / 25.13 MB, free: 3.609 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.45/1.45, allocations: 230.4 MB / 258.7 MB, free: 8.055 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2367/0.2367, allocations: 46.94 MB / 362 MB, free: 4.316 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002516/0.002516, allocations: 87.84 kB / 0.4978 GB, free: 7.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3798/0.3824, allocations: 66.07 MB / 0.5623 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01386/0.3962, allocations: 11.33 MB / 0.5734 GB, free: 8.891 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009299/0.4055, allocations: 4.097 MB / 0.5774 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002289/0.4078, allocations: 75.62 kB / 0.5775 GB, free: 4.707 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00528/0.4131, allocations: 2.53 MB / 0.5799 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005533/0.4186, allocations: 1.898 MB / 0.5818 GB, free: 272 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002036/0.4207, allocations: 0.7799 MB / 0.5826 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00754/0.4282, allocations: 4.515 MB / 0.587 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004017/0.4322, allocations: 2.782 MB / 0.5897 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002773/0.435, allocations: 1.581 MB / 0.5912 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004013/0.439, allocations: 2.399 MB / 0.5936 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001128/0.4401, allocations: 332 kB / 0.5939 GB, free: 3.812 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002266/0.4424, allocations: 0.8778 MB / 0.5947 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002432/0.4448, allocations: 1.967 MB / 0.5967 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.448, allocations: 2.221 MB / 0.5988 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009473/0.4575, allocations: 6.87 MB / 0.6055 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.4575, allocations: 0 / 0.6055 GB, free: 7.832 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4575, allocations: 0 / 0.6055 GB, free: 7.832 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002519/0.4578, allocations: 0 / 0.6055 GB, free: 7.832 MB / 446.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.0117/0.4695, allocations: 4.849 MB / 0.6103 GB, free: 2.922 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.4695, allocations: 8.031 kB / 0.6103 GB, free: 2.914 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00717/0.4767, allocations: 1.975 MB / 0.6122 GB, free: 0.9336 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00584/0.4825, allocations: 2.265 MB / 0.6144 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002689/0.4828, allocations: 258.4 kB / 0.6147 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009274/0.4837, allocations: 327.8 kB / 0.615 GB, free: 14.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.5039, allocations: 10.33 MB / 0.6251 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001508/0.5041, allocations: 55.56 kB / 0.6251 GB, free: 2.828 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004466/0.5045, allocations: 155.9 kB / 0.6253 GB, free: 2.676 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002928/0.5075, allocations: 1.9 MB / 0.6271 GB, free: 0.7734 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/0.5252, allocations: 8.177 MB / 0.6351 GB, free: 8.574 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05251/0.5777, allocations: 39.05 MB / 0.6733 GB, free: 332 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007811/0.5856, allocations: 2.724 MB / 0.6759 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.5872, allocations: 0.967 MB / 0.6769 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008331/0.5956, allocations: 4.567 MB / 0.6813 GB, free: 7.965 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.837e-05/0.5956, allocations: 55.44 kB / 0.6814 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.12e-06/0.5956, allocations: 0 / 0.6814 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02546/0.6211, allocations: 9.59 MB / 0.6907 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001611/0.6212, allocations: 192.9 kB / 0.6909 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006095/0.6273, allocations: 4.059 MB / 0.6949 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002718/0.6276, allocations: 53.7 kB / 0.6949 GB, free: 9.879 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002904/0.6305, allocations: 3.306 MB / 0.6982 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009531/0.6315, allocations: 0.6591 MB / 0.6988 GB, free: 5.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001639/0.6331, allocations: 1.223 MB / 0.7 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6333, allocations: 304.9 kB / 0.7003 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002869/0.6361, allocations: 1.671 MB / 0.7019 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006267/0.6424, allocations: 5.58 MB / 0.7074 GB, free: 11.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.6528, allocations: 7.8 MB / 0.715 GB, free: 1.414 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/0.6529, allocations: 40 kB / 0.715 GB, free: 1.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01473/0.6676, allocations: 6.949 MB / 0.7218 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.6678, allocations: 64 kB / 0.7219 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002395/0.668, allocations: 136 kB / 0.722 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002375/0.6683, allocations: 180.8 kB / 0.7222 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005009/0.6733, allocations: 1.443 MB / 0.7236 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003207/0.6736, allocations: 274.9 kB / 0.7238 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004648/0.6783, allocations: 295.7 kB / 0.7241 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009679/0.6792, allocations: 376 kB / 0.7245 GB, free: 7.68 MB / 0.5606 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.004519/0.6837, allocations: 2.041 MB / 0.7265 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001066/0.6848, allocations: 361.6 kB / 0.7268 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.6861, allocations: 414.6 kB / 0.7272 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.581e-05/0.6862, allocations: 23.98 kB / 0.7272 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.69e-05/0.6862, allocations: 0 / 0.7272 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.6862, allocations: 7.922 kB / 0.7273 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3543/1.041, allocations: 5.804 MB / 0.7329 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/1.041, allocations: 16.88 kB / 0.7329 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001238/1.042, allocations: 282.8 kB / 0.7332 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.814e-05/1.042, allocations: 27.19 kB / 0.7332 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/1.042, allocations: 50.66 kB / 0.7333 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.284e-05/1.042, allocations: 36.59 kB / 0.7333 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.046e-05/1.042, allocations: 27.84 kB / 0.7333 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00386/1.046, allocations: 3.318 MB / 0.7366 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.047, allocations: 354.8 kB / 0.7369 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003655/1.047, allocations: 52.58 kB / 0.737 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.049, allocations: 66.67 kB / 0.737 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002623/1.049, allocations: 152.6 kB / 0.7372 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.754e-05/1.049, allocations: 65.52 kB / 0.7372 GB, free: 150.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004985/1.054, allocations: 2.504 MB / 0.7397 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/1.054, allocations: 0 / 0.7397 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005989/1.06, allocations: 0.8929 MB / 0.7406 GB, free: 149.1 MB / 0.5606 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.0004132/1.06, allocations: 195.6 kB / 0.7407 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00548/1.066, allocations: 3.701 MB / 0.7444 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.15e-05/1.066, allocations: 3.812 kB / 0.7444 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008994/1.067, allocations: 0.7082 MB / 0.7451 GB, free: 147.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/1.07, allocations: 474.8 kB / 0.7455 GB, free: 147.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.084, allocations: 8.863 MB / 0.7542 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002673/1.087, allocations: 3.173 MB / 0.7573 GB, free: 137.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003284/1.09, allocations: 1.817 MB / 0.759 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004622/1.091, allocations: 239.4 kB / 0.7593 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.193e-06/1.091, allocations: 3.062 kB / 0.7593 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of Templates: time 0.05178/1.142, allocations: 29.43 MB / 0.788 GB, free: 107.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 7.094968141056597]