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.001605/0.001605, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002082/0.002082, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.472/1.472, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2312/0.2312, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.002902/0.002902, allocations: 79.86 kB / 0.4968 GB, free: 7.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.365, allocations: 65.99 MB / 0.5612 GB, free: 4.996 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01444/0.3795, allocations: 11.43 MB / 0.5724 GB, free: 9.508 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009176/0.3886, allocations: 4.112 MB / 0.5764 GB, free: 5.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3905, allocations: 67.81 kB / 0.5765 GB, free: 5.316 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005609/0.3961, allocations: 2.523 MB / 0.5789 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005355/0.4015, allocations: 1.887 MB / 0.5808 GB, free: 0.8906 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001917/0.4034, allocations: 0.78 MB / 0.5815 GB, free: 112 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006965/0.4104, allocations: 4.507 MB / 0.5859 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.4148, allocations: 2.545 MB / 0.5884 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003597/0.4184, allocations: 1.557 MB / 0.5899 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005039/0.4235, allocations: 2.391 MB / 0.5923 GB, free: 5.043 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001878/0.4253, allocations: 335.9 kB / 0.5926 GB, free: 4.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.4291, allocations: 0.9909 MB / 0.5936 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003241/0.4324, allocations: 1.959 MB / 0.5955 GB, free: 1.758 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004905/0.4373, allocations: 2.237 MB / 0.5976 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009703/0.447, allocations: 6.839 MB / 0.6043 GB, free: 8.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.447, allocations: 0 / 0.6043 GB, free: 8.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.447, allocations: 0 / 0.6043 GB, free: 8.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.4472, allocations: 4 kB / 0.6043 GB, free: 8.637 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.00935/0.4565, allocations: 4.909 MB / 0.6091 GB, free: 3.648 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4566, allocations: 12.03 kB / 0.6091 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007647/0.4642, allocations: 1.975 MB / 0.6111 GB, free: 1.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005676/0.4699, allocations: 2.33 MB / 0.6133 GB, free: 15.27 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002666/0.4701, allocations: 258.4 kB / 0.6136 GB, free: 15.01 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007049/0.4709, allocations: 323.8 kB / 0.6139 GB, free: 14.69 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01911/0.49, allocations: 10.24 MB / 0.6239 GB, free: 3.656 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001207/0.4901, allocations: 43.64 kB / 0.6239 GB, free: 3.613 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004243/0.4905, allocations: 163.8 kB / 0.6241 GB, free: 3.453 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003149/0.4937, allocations: 1.911 MB / 0.626 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.5122, allocations: 8.173 MB / 0.6339 GB, free: 9.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05378/0.566, allocations: 39.31 MB / 0.6723 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008872/0.5749, allocations: 3.173 MB / 0.6754 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.5766, allocations: 0.9712 MB / 0.6764 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.5871, allocations: 6.01 MB / 0.6822 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.308e-05/0.5871, allocations: 55.5 kB / 0.6823 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.558e-06/0.5871, allocations: 0 / 0.6823 GB, free: 6.062 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02541/0.6125, allocations: 9.735 MB / 0.6918 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.6127, allocations: 204.9 kB / 0.692 GB, free: 12 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006556/0.6192, allocations: 4.044 MB / 0.6959 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001555/0.6194, allocations: 49.7 kB / 0.696 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002732/0.6221, allocations: 3.306 MB / 0.6992 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000718/0.6228, allocations: 0.6629 MB / 0.6999 GB, free: 3.867 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/0.6246, allocations: 1.235 MB / 0.7011 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.6247, allocations: 305.1 kB / 0.7014 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002997/0.6277, allocations: 1.663 MB / 0.703 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006326/0.634, allocations: 5.538 MB / 0.7084 GB, free: 9.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009801/0.6438, allocations: 7.799 MB / 0.716 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.281e-05/0.6439, allocations: 40 kB / 0.7161 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01261/0.6565, allocations: 6.941 MB / 0.7228 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.603e-05/0.6566, allocations: 64 kB / 0.7229 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001975/0.6568, allocations: 140.1 kB / 0.723 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001946/0.657, allocations: 180 kB / 0.7232 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004455/0.6615, allocations: 1.439 MB / 0.7246 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002344/0.6617, allocations: 267 kB / 0.7249 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004061/0.6658, allocations: 303.6 kB / 0.7251 GB, free: 6.082 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008176/0.6666, allocations: 380 kB / 0.7255 GB, free: 5.711 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.00476/0.6713, allocations: 2.044 MB / 0.7275 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009658/0.6723, allocations: 361.6 kB / 0.7279 GB, free: 3.305 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009405/0.6733, allocations: 410.6 kB / 0.7282 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.6733, allocations: 23.94 kB / 0.7283 GB, free: 2.875 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/0.6733, allocations: 4 kB / 0.7283 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.19e-05/0.6733, allocations: 11.91 kB / 0.7283 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3205/0.9938, allocations: 5.835 MB / 0.734 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.9938, allocations: 17.28 kB / 0.734 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/0.9949, allocations: 284.2 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.532e-05/0.9949, allocations: 23.41 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.891e-05/0.995, allocations: 52.59 kB / 0.7343 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.837e-05/0.995, allocations: 37.73 kB / 0.7344 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.489e-05/0.995, allocations: 27.53 kB / 0.7344 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.9988, allocations: 3.33 MB / 0.7377 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008454/0.9997, allocations: 431.7 kB / 0.7381 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003187/1, allocations: 50.36 kB / 0.7381 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.001, allocations: 70.8 kB / 0.7382 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/1.001, allocations: 141.2 kB / 0.7383 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.056e-05/1.001, allocations: 70.94 kB / 0.7384 GB, free: 149.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003233/1.005, allocations: 2.506 MB / 0.7408 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/1.005, allocations: 0 / 0.7408 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004264/1.009, allocations: 0.8854 MB / 0.7417 GB, free: 148.2 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.00036/1.009, allocations: 196.9 kB / 0.7419 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005334/1.014, allocations: 3.694 MB / 0.7455 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/1.014, allocations: 2.656 kB / 0.7455 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009062/1.015, allocations: 0.716 MB / 0.7462 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/1.018, allocations: 470.2 kB / 0.7466 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/1.029, allocations: 8.876 MB / 0.7553 GB, free: 139.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/1.031, allocations: 3.172 MB / 0.7584 GB, free: 137.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003388/1.035, allocations: 1.812 MB / 0.7602 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/1.035, allocations: 239.4 kB / 0.7604 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/1.035, allocations: 0 / 0.7604 GB, free: 135.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.04708/1.082, allocations: 26.89 MB / 0.7867 GB, free: 108.9 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.96668280987069]