Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 167.7 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.451/1.451, allocations: 177.2 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1964/0.1964, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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.0.0_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.0.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 440.1 MB, free: 8.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/2.904e-05, allocations: 2.281 kB / 440.1 MB, free: 8.176 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.1875/0.1875, allocations: 9.931 MB / 450 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007156/0.1947, allocations: 3.895 MB / 453.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001409/0.1961, allocations: 81.09 kB / 454 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004505/0.2006, allocations: 2.545 MB / 456.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.2054, allocations: 1.953 MB / 458.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.2071, allocations: 0.853 MB / 459.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.2139, allocations: 5.211 MB / 464.6 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004359/0.2182, allocations: 3.271 MB / 467.8 MB, free: 8.805 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005681/0.2239, allocations: 2.427 MB / 470.3 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004233/0.2281, allocations: 2.492 MB / 472.7 MB, free: 5.934 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009514/0.2291, allocations: 343.8 kB / 473.1 MB, free: 5.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.2314, allocations: 0.912 MB / 474 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002103/0.2335, allocations: 2.054 MB / 476.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002409/0.2359, allocations: 1.322 MB / 477.4 MB, free: 3.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007914/0.2438, allocations: 6.878 MB / 484.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2438, allocations: 0 / 484.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2438, allocations: 0 / 484.3 MB, free: 13.85 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002441/0.2441, allocations: 0 / 484.3 MB, free: 13.85 MB / 382.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.01077/0.2548, allocations: 4.9 MB / 489.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2549, allocations: 8.031 kB / 489.2 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008231/0.2631, allocations: 2.131 MB / 491.3 MB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.2682, allocations: 2.261 MB / 493.5 MB, free: 4.441 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002365/0.2685, allocations: 250.6 kB / 493.8 MB, free: 4.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007395/0.2692, allocations: 324.2 kB / 494.1 MB, free: 3.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01951/0.2887, allocations: 10.35 MB / 0.4926 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/0.2889, allocations: 55.56 kB / 0.4927 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008173/0.2897, allocations: 159.9 kB / 0.4928 GB, free: 8.492 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003222/0.2929, allocations: 1.904 MB / 0.4947 GB, free: 6.578 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01874/0.3117, allocations: 8.168 MB / 0.5027 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05969/0.3713, allocations: 36.94 MB / 0.5388 GB, free: 8.285 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.3824, allocations: 2.852 MB / 0.5415 GB, free: 5.379 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00179/0.3842, allocations: 0.9659 MB / 0.5425 GB, free: 4.398 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008932/0.3931, allocations: 4.411 MB / 0.5468 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.3932, allocations: 59.47 kB / 0.5469 GB, free: 15.89 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.087e-06/0.3932, allocations: 0 / 0.5469 GB, free: 15.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02517/0.4183, allocations: 9.972 MB / 0.5566 GB, free: 5.867 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001847/0.4185, allocations: 204.9 kB / 0.5568 GB, free: 5.621 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005985/0.4245, allocations: 3.936 MB / 0.5606 GB, free: 1.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002251/0.4247, allocations: 49.7 kB / 0.5607 GB, free: 1.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002679/0.4274, allocations: 3.304 MB / 0.5639 GB, free: 14.29 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007043/0.4281, allocations: 0.6552 MB / 0.5645 GB, free: 13.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.4297, allocations: 1.207 MB / 0.5657 GB, free: 12.41 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.4298, allocations: 301.1 kB / 0.566 GB, free: 12.11 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00304/0.4329, allocations: 1.679 MB / 0.5677 GB, free: 10.43 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006713/0.4396, allocations: 5.6 MB / 0.5731 GB, free: 2.879 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/0.4501, allocations: 7.819 MB / 0.5808 GB, free: 9.133 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.4502, allocations: 43.75 kB / 0.5808 GB, free: 9.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01556/0.4658, allocations: 6.948 MB / 0.5876 GB, free: 2.145 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/0.4659, allocations: 60 kB / 0.5876 GB, free: 2.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001879/0.4661, allocations: 140 kB / 0.5878 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002545/0.4663, allocations: 180 kB / 0.5879 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004813/0.4711, allocations: 1.451 MB / 0.5894 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002315/0.4714, allocations: 270.9 kB / 0.5896 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004197/0.4756, allocations: 411.5 kB / 0.59 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005583/0.4761, allocations: 376 kB / 0.5904 GB, free: 15.29 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.003282/0.4794, allocations: 2.041 MB / 0.5924 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006595/0.4801, allocations: 325.8 kB / 0.5927 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006606/0.4807, allocations: 386.7 kB / 0.593 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.553e-05/0.4808, allocations: 23.84 kB / 0.5931 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.4808, allocations: 0 / 0.5931 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.4808, allocations: 11.92 kB / 0.5931 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008254/0.489, allocations: 4.735 MB / 0.5977 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.4891, allocations: 19.94 kB / 0.5977 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.4901, allocations: 283.5 kB / 0.598 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/0.4901, allocations: 24 kB / 0.598 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.019e-05/0.4902, allocations: 55.94 kB / 0.5981 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.84e-05/0.4902, allocations: 35.86 kB / 0.5981 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-05/0.4903, allocations: 28.25 kB / 0.5981 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004336/0.4946, allocations: 3.258 MB / 0.6013 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006831/0.4953, allocations: 337.8 kB / 0.6016 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003423/0.4956, allocations: 55.92 kB / 0.6017 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/0.497, allocations: 111.9 kB / 0.6018 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/0.4971, allocations: 151.4 kB / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.4972, allocations: 67.98 kB / 0.602 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003608/0.5009, allocations: 2.281 MB / 0.6042 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5009, allocations: 7.938 kB / 0.6042 GB, free: 0.5664 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004371/0.5052, allocations: 0.9765 MB / 0.6052 GB, free: 15.59 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.0004397/0.5057, allocations: 214.5 kB / 0.6054 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006157/0.5118, allocations: 3.721 MB / 0.609 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.5118, allocations: 4 kB / 0.609 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001106/0.5129, allocations: 0.7049 MB / 0.6097 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002314/0.5153, allocations: 405 kB / 0.6101 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01568/0.5309, allocations: 8.679 MB / 0.6186 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003805/0.5347, allocations: 2.637 MB / 0.6212 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004036/0.5388, allocations: 1.775 MB / 0.6229 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.5394, allocations: 240.5 kB / 0.6231 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of SimCode: time 2.214e-06/0.5394, allocations: 0 / 0.6231 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.2135/0.7529, allocations: 21.73 MB / 0.6443 GB, free: 166.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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.372984696179628]