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.001543/0.001543, allocations: 117 kB / 19.13 MB, free: 3.922 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.001619/0.001619, allocations: 206.5 kB / 22.07 MB, free: 0.9766 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.47/1.47, allocations: 227.4 MB / 252.3 MB, free: 64 kB / 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.2325/0.2325, allocations: 46.17 MB / 351.8 MB, free: 14.28 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 0.002506/0.002506, allocations: 77.17 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1363, allocations: 62.44 MB / 0.5403 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0137/0.1501, allocations: 11.38 MB / 0.5515 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009062/0.1592, allocations: 4.054 MB / 0.5554 GB, free: 4.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002099/0.1613, allocations: 63.81 kB / 0.5555 GB, free: 4.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005391/0.1668, allocations: 2.488 MB / 0.5579 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006045/0.1729, allocations: 1.828 MB / 0.5597 GB, free: 340 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.1751, allocations: 0.7838 MB / 0.5605 GB, free: 15.55 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007864/0.183, allocations: 4.505 MB / 0.5649 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005069/0.1881, allocations: 3.335 MB / 0.5681 GB, free: 7.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.1912, allocations: 1.553 MB / 0.5696 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0038/0.1951, allocations: 2.22 MB / 0.5718 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.1965, allocations: 336 kB / 0.5721 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002809/0.1993, allocations: 0.9519 MB / 0.573 GB, free: 2.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002882/0.2022, allocations: 1.913 MB / 0.5749 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.206, allocations: 2.233 MB / 0.5771 GB, free: 14.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.2166, allocations: 6.835 MB / 0.5838 GB, free: 7.559 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.2167, allocations: 0 / 0.5838 GB, free: 7.559 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2167, allocations: 0 / 0.5838 GB, free: 7.559 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002716/0.217, allocations: 0 / 0.5838 GB, free: 7.559 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.01237/0.2294, allocations: 4.917 MB / 0.5886 GB, free: 2.562 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.2294, allocations: 11.97 kB / 0.5886 GB, free: 2.551 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007846/0.2373, allocations: 1.975 MB / 0.5905 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005228/0.2425, allocations: 2.339 MB / 0.5928 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002496/0.2428, allocations: 256.7 kB / 0.593 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009323/0.2438, allocations: 323.8 kB / 0.5934 GB, free: 13.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01939/0.2632, allocations: 10.23 MB / 0.6033 GB, free: 2.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000133/0.2633, allocations: 47.58 kB / 0.6034 GB, free: 2.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004586/0.2638, allocations: 159.8 kB / 0.6035 GB, free: 2.367 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003117/0.2669, allocations: 1.923 MB / 0.6054 GB, free: 452 kB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2853/0.5522, allocations: 8.157 MB / 0.6134 GB, free: 52.32 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04233/0.5946, allocations: 39.32 MB / 0.6518 GB, free: 22.73 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007377/0.602, allocations: 3.291 MB / 0.655 GB, free: 20.79 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.6035, allocations: 1.054 MB / 0.656 GB, free: 20.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006922/0.6104, allocations: 6.01 MB / 0.6619 GB, free: 14.94 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.6105, allocations: 51.5 kB / 0.6619 GB, free: 14.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 5.491e-06/0.6105, allocations: 3.938 kB / 0.6619 GB, free: 14.88 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02069/0.6312, allocations: 9.74 MB / 0.6715 GB, free: 5.258 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.872e-05/0.6313, allocations: 196.9 kB / 0.6716 GB, free: 5.023 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.6357, allocations: 4.047 MB / 0.6756 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.6359, allocations: 45.7 kB / 0.6756 GB, free: 0.9375 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002507/0.6384, allocations: 3.314 MB / 0.6789 GB, free: 13.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007644/0.6392, allocations: 0.6633 MB / 0.6795 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001654/0.6408, allocations: 1.23 MB / 0.6807 GB, free: 11.74 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.641, allocations: 301.1 kB / 0.681 GB, free: 11.45 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.6439, allocations: 1.663 MB / 0.6826 GB, free: 9.777 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00672/0.6506, allocations: 5.534 MB / 0.688 GB, free: 2.301 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/0.6613, allocations: 7.799 MB / 0.6957 GB, free: 8.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001144/0.6615, allocations: 43.75 kB / 0.6957 GB, free: 8.543 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01441/0.6759, allocations: 6.936 MB / 0.7025 GB, free: 1.602 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.6761, allocations: 64 kB / 0.7025 GB, free: 1.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/0.6763, allocations: 140 kB / 0.7027 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002003/0.6765, allocations: 180 kB / 0.7028 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004575/0.6811, allocations: 1.443 MB / 0.7043 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002449/0.6813, allocations: 263 kB / 0.7045 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003893/0.6852, allocations: 308.2 kB / 0.7048 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007122/0.6859, allocations: 382.6 kB / 0.7052 GB, free: 14.85 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.003681/0.6896, allocations: 2.036 MB / 0.7071 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000748/0.6904, allocations: 361.6 kB / 0.7075 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009853/0.6914, allocations: 414.6 kB / 0.7079 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/0.6914, allocations: 16 kB / 0.7079 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.6915, allocations: 6.531 kB / 0.7079 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.6915, allocations: 8.156 kB / 0.7079 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01268/0.7042, allocations: 5.853 MB / 0.7136 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.254e-05/0.7043, allocations: 16 kB / 0.7136 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.7055, allocations: 287.5 kB / 0.7139 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.391e-05/0.7056, allocations: 31.92 kB / 0.714 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001438/0.7057, allocations: 48 kB / 0.714 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.569e-05/0.7058, allocations: 35.86 kB / 0.714 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.301e-05/0.7058, allocations: 27.88 kB / 0.7141 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/0.711, allocations: 3.315 MB / 0.7173 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/0.7121, allocations: 438.5 kB / 0.7177 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007022/0.7129, allocations: 51.98 kB / 0.7178 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001638/0.7145, allocations: 66.22 kB / 0.7178 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.7148, allocations: 151.4 kB / 0.718 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.7149, allocations: 67.98 kB / 0.718 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005552/0.7205, allocations: 2.5 MB / 0.7205 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7205, allocations: 4 kB / 0.7205 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005896/0.7264, allocations: 0.8828 MB / 0.7213 GB, free: 13.7 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.0006955/0.7271, allocations: 199.9 kB / 0.7215 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007698/0.7348, allocations: 3.849 MB / 0.7253 GB, free: 9.684 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.528e-05/0.7349, allocations: 4 kB / 0.7253 GB, free: 9.68 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.7363, allocations: 0.7544 MB / 0.726 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0039/0.7403, allocations: 482.2 kB / 0.7265 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/0.76, allocations: 9.295 MB / 0.7356 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005865/0.7659, allocations: 3.169 MB / 0.7387 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00104/0.767, allocations: 291.3 kB / 0.7389 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of SimCode: time 1.252e-06/0.767, allocations: 0 / 0.7389 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of Templates: time 0.09454/0.8615, allocations: 53.61 MB / 0.7913 GB, free: 5.898 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.12655512697529]