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.001793/0.001793, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002177/0.002177, allocations: 214.3 kB / 23.73 MB, free: 4.164 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.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.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.2554/0.2554, allocations: 46.94 MB / 360.8 MB, free: 3.934 MB / 286.1 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 0.002367/0.002367, allocations: 80.16 kB / 0.4966 GB, free: 7.031 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.3882, allocations: 66.09 MB / 0.5612 GB, free: 3.945 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0144/0.4026, allocations: 9.917 MB / 0.5709 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01017/0.4128, allocations: 3.883 MB / 0.5747 GB, free: 6.082 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.4153, allocations: 79.56 kB / 0.5747 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005422/0.4207, allocations: 2.433 MB / 0.5771 GB, free: 3.562 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006183/0.4269, allocations: 1.899 MB / 0.579 GB, free: 1.656 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002138/0.429, allocations: 0.7761 MB / 0.5797 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007534/0.4365, allocations: 4.511 MB / 0.5841 GB, free: 12.36 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004499/0.441, allocations: 2.763 MB / 0.5868 GB, free: 9.547 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.4444, allocations: 1.577 MB / 0.5884 GB, free: 7.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004554/0.449, allocations: 2.266 MB / 0.5906 GB, free: 5.691 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.4503, allocations: 332 kB / 0.5909 GB, free: 5.367 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.4531, allocations: 0.8661 MB / 0.5917 GB, free: 4.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002655/0.4557, allocations: 1.971 MB / 0.5937 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00286/0.4586, allocations: 1.666 MB / 0.5953 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.4691, allocations: 6.862 MB / 0.602 GB, free: 9.961 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.4691, allocations: 4 kB / 0.602 GB, free: 9.957 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4691, allocations: 3.938 kB / 0.602 GB, free: 9.953 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002974/0.4694, allocations: 0 / 0.602 GB, free: 9.953 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.01196/0.4814, allocations: 4.841 MB / 0.6067 GB, free: 5.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.478e-05/0.4814, allocations: 12.03 kB / 0.6067 GB, free: 5.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007602/0.489, allocations: 1.971 MB / 0.6087 GB, free: 3.062 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006421/0.4954, allocations: 2.281 MB / 0.6109 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.4957, allocations: 254.4 kB / 0.6111 GB, free: 488 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.4967, allocations: 331.8 kB / 0.6115 GB, free: 156 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0208/0.5175, allocations: 10.33 MB / 0.6215 GB, free: 4.996 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002025/0.5177, allocations: 55.56 kB / 0.6216 GB, free: 4.941 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006409/0.5183, allocations: 155.9 kB / 0.6218 GB, free: 4.789 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/0.5217, allocations: 1.904 MB / 0.6236 GB, free: 2.883 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.5407, allocations: 8.165 MB / 0.6316 GB, free: 10.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05469/0.5953, allocations: 36.74 MB / 0.6675 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009017/0.6044, allocations: 2.721 MB / 0.6701 GB, free: 2 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/0.6064, allocations: 0.9553 MB / 0.6711 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.617, allocations: 4.294 MB / 0.6752 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.004e-05/0.6171, allocations: 51.5 kB / 0.6753 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.428e-06/0.6171, allocations: 0 / 0.6753 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02849/0.6456, allocations: 9.565 MB / 0.6846 GB, free: 3.027 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.6457, allocations: 196.9 kB / 0.6848 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007841/0.6536, allocations: 3.792 MB / 0.6885 GB, free: 15 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002577/0.6538, allocations: 45.7 kB / 0.6886 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003259/0.6571, allocations: 3.335 MB / 0.6918 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009219/0.658, allocations: 0.6591 MB / 0.6925 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002456/0.6605, allocations: 1.231 MB / 0.6937 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.6606, allocations: 305.1 kB / 0.694 GB, free: 9.375 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003338/0.664, allocations: 1.667 MB / 0.6956 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007224/0.6712, allocations: 5.584 MB / 0.701 GB, free: 168 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01131/0.6825, allocations: 7.802 MB / 0.7087 GB, free: 6.434 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001512/0.6826, allocations: 40 kB / 0.7087 GB, free: 6.395 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01544/0.6981, allocations: 6.909 MB / 0.7155 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.6983, allocations: 64 kB / 0.7155 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000347/0.6986, allocations: 140 kB / 0.7156 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002416/0.6989, allocations: 184 kB / 0.7158 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005011/0.7039, allocations: 1.439 MB / 0.7172 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003023/0.7042, allocations: 267 kB / 0.7175 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004937/0.7091, allocations: 303.9 kB / 0.7178 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/0.7103, allocations: 372 kB / 0.7181 GB, free: 12.74 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.004641/0.7149, allocations: 2.04 MB / 0.7201 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009961/0.7159, allocations: 326 kB / 0.7204 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001117/0.717, allocations: 390.6 kB / 0.7208 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.323e-05/0.7171, allocations: 16 kB / 0.7208 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.7171, allocations: 480 / 0.7208 GB, free: 9.973 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-05/0.7171, allocations: 11.97 kB / 0.7208 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.729, allocations: 4.661 MB / 0.7254 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.67e-05/0.7291, allocations: 27.95 kB / 0.7254 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001142/0.7302, allocations: 279.5 kB / 0.7257 GB, free: 4.727 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.792e-05/0.7302, allocations: 35.88 kB / 0.7257 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/0.7304, allocations: 48 kB / 0.7258 GB, free: 4.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.301e-05/0.7304, allocations: 35.86 kB / 0.7258 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.2e-05/0.7304, allocations: 27.88 kB / 0.7258 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/0.7357, allocations: 3.276 MB / 0.729 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.7368, allocations: 317.6 kB / 0.7293 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007006/0.7375, allocations: 55.97 kB / 0.7294 GB, free: 0.6914 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001561/0.7391, allocations: 59.95 kB / 0.7294 GB, free: 0.6328 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.7393, allocations: 159.3 kB / 0.7296 GB, free: 488 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.7394, allocations: 60 kB / 0.7296 GB, free: 428 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3367/1.076, allocations: 2.164 MB / 0.7317 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.076, allocations: 1.281 kB / 0.7317 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005681/1.082, allocations: 0.8794 MB / 0.7326 GB, free: 150.8 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.0003868/1.082, allocations: 197.3 kB / 0.7328 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006096/1.088, allocations: 3.687 MB / 0.7364 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-05/1.088, allocations: 3.188 kB / 0.7364 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000941/1.089, allocations: 0.7121 MB / 0.7371 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/1.092, allocations: 414.3 kB / 0.7375 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.106, allocations: 8.816 MB / 0.7461 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002842/1.109, allocations: 2.631 MB / 0.7487 GB, free: 143.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003654/1.113, allocations: 1.776 MB / 0.7504 GB, free: 142.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.113, allocations: 223.3 kB / 0.7506 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/1.113, allocations: 0 / 0.7506 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04742/1.161, allocations: 24.87 MB / 0.7749 GB, free: 118.3 MB / 0.5606 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: 7.186323069036007]