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.001586/0.001586, allocations: 118.6 kB / 18.5 MB, free: 4.543 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.001947/0.001947, allocations: 202.6 kB / 21.45 MB, free: 1.59 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.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.2516/0.2516, allocations: 46.89 MB / 357.4 MB, free: 10.48 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.00292/0.00292, allocations: 83.88 kB / 0.4917 GB, free: 7.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1829, allocations: 65.99 MB / 0.5562 GB, free: 5.664 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01427/0.1972, allocations: 11.41 MB / 0.5673 GB, free: 10.19 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.2082, allocations: 4.077 MB / 0.5713 GB, free: 6.098 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002684/0.2109, allocations: 63.81 kB / 0.5714 GB, free: 6.035 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005649/0.2165, allocations: 2.534 MB / 0.5738 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007574/0.2241, allocations: 1.88 MB / 0.5757 GB, free: 1.605 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00252/0.2266, allocations: 0.7838 MB / 0.5764 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009848/0.2365, allocations: 4.503 MB / 0.5808 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006604/0.2431, allocations: 2.866 MB / 0.5836 GB, free: 9.395 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.2479, allocations: 1.557 MB / 0.5852 GB, free: 7.832 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005906/0.2538, allocations: 2.407 MB / 0.5875 GB, free: 5.418 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002173/0.2559, allocations: 332 kB / 0.5878 GB, free: 5.094 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003813/0.2598, allocations: 0.9792 MB / 0.5888 GB, free: 4.113 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00407/0.2638, allocations: 1.971 MB / 0.5907 GB, free: 2.137 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.4304/0.6942, allocations: 2.229 MB / 0.5929 GB, free: 12.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01448/0.7087, allocations: 6.828 MB / 0.5995 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.7087, allocations: 0 / 0.5995 GB, free: 11.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.955e-06/0.7087, allocations: 1.656 kB / 0.5996 GB, free: 11.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004504/0.7091, allocations: 0.7969 kB / 0.5996 GB, free: 11.77 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.01969/0.7288, allocations: 4.916 MB / 0.6044 GB, free: 9.723 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.7289, allocations: 9.5 kB / 0.6044 GB, free: 9.723 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00914/0.738, allocations: 1.971 MB / 0.6063 GB, free: 9.414 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.7455, allocations: 2.339 MB / 0.6086 GB, free: 8.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004207/0.7459, allocations: 257.6 kB / 0.6088 GB, free: 8.816 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/0.7484, allocations: 329 kB / 0.6091 GB, free: 8.809 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02562/0.7741, allocations: 10.23 MB / 0.6191 GB, free: 5.473 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.7742, allocations: 53.84 kB / 0.6192 GB, free: 5.465 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005649/0.7748, allocations: 156.5 kB / 0.6193 GB, free: 5.395 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.7777, allocations: 1.9 MB / 0.6212 GB, free: 5.074 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/0.7962, allocations: 8.176 MB / 0.6292 GB, free: 2.102 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06079/0.857, allocations: 39.32 MB / 0.6676 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009266/0.8663, allocations: 3.176 MB / 0.6707 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001891/0.8681, allocations: 0.959 MB / 0.6716 GB, free: 8.254 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01178/0.8799, allocations: 6.003 MB / 0.6775 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.88, allocations: 47.56 kB / 0.6775 GB, free: 1.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.349e-06/0.88, allocations: 0 / 0.6775 GB, free: 1.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02852/0.9085, allocations: 9.743 MB / 0.687 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.9087, allocations: 200.1 kB / 0.6872 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00749/0.9161, allocations: 4.055 MB / 0.6912 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003748/0.9165, allocations: 47.81 kB / 0.6912 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00331/0.9198, allocations: 3.307 MB / 0.6944 GB, free: 416 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001073/0.9209, allocations: 0.6666 MB / 0.6951 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/0.9229, allocations: 1.223 MB / 0.6963 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.9231, allocations: 309.1 kB / 0.6966 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/0.9264, allocations: 1.659 MB / 0.6982 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007432/0.9338, allocations: 5.54 MB / 0.7036 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.9452, allocations: 7.802 MB / 0.7112 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001332/0.9454, allocations: 40 kB / 0.7113 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01641/0.9618, allocations: 6.949 MB / 0.7181 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.9619, allocations: 60 kB / 0.7181 GB, free: 5.02 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.9621, allocations: 140 kB / 0.7183 GB, free: 4.883 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/0.9623, allocations: 184.7 kB / 0.7184 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005317/0.9676, allocations: 1.437 MB / 0.7198 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002802/0.9679, allocations: 270.9 kB / 0.7201 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005525/0.9734, allocations: 295.7 kB / 0.7204 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001226/0.9746, allocations: 383.4 kB / 0.7207 GB, free: 2.336 MB / 0.5294 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.004954/0.9796, allocations: 2.037 MB / 0.7227 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.9806, allocations: 365.6 kB / 0.7231 GB, free: 15.93 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/0.9818, allocations: 410.6 kB / 0.7235 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.847e-05/0.9818, allocations: 20 kB / 0.7235 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.168e-05/0.9819, allocations: 3.984 kB / 0.7235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.953e-05/0.9819, allocations: 3.984 kB / 0.7235 GB, free: 15.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01486/0.9967, allocations: 5.852 MB / 0.7292 GB, free: 9.359 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.163e-05/0.9968, allocations: 16 kB / 0.7292 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.9979, allocations: 287.5 kB / 0.7295 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-05/0.9979, allocations: 24 kB / 0.7295 GB, free: 9.039 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.86e-05/0.998, allocations: 47.94 kB / 0.7296 GB, free: 8.996 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.706e-05/0.998, allocations: 35.86 kB / 0.7296 GB, free: 8.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.312e-05/0.9981, allocations: 27.88 kB / 0.7296 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00506/1.003, allocations: 3.321 MB / 0.7329 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001439/1.005, allocations: 434.5 kB / 0.7333 GB, free: 4.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004066/1.005, allocations: 58.02 kB / 0.7333 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/1.006, allocations: 59.95 kB / 0.7334 GB, free: 4.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/1.006, allocations: 151.4 kB / 0.7335 GB, free: 4.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.007, allocations: 66.06 kB / 0.7336 GB, free: 4.598 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005935/1.012, allocations: 2.507 MB / 0.7361 GB, free: 2.078 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/1.012, allocations: 0 / 0.7361 GB, free: 2.078 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006768/1.019, allocations: 0.8896 MB / 0.7369 GB, free: 1.191 MB / 0.545 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.0006074/1.02, allocations: 204.7 kB / 0.7371 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007967/1.028, allocations: 3.696 MB / 0.7407 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.189e-05/1.028, allocations: 0 / 0.7407 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001352/1.029, allocations: 0.7105 MB / 0.7414 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003593/1.033, allocations: 479.2 kB / 0.7419 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02109/1.054, allocations: 8.874 MB / 0.7505 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005212/1.059, allocations: 3.165 MB / 0.7536 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004993/1.064, allocations: 1.816 MB / 0.7554 GB, free: 14 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007969/1.065, allocations: 235.4 kB / 0.7556 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of SimCode: time 1.302e-06/1.065, allocations: 8 kB / 0.7556 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of Templates: time 0.06694/1.132, allocations: 25.6 MB / 0.7806 GB, free: 4.371 MB / 0.5919 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.0.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.375858628191054]