Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009705, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009999/0.0009999, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.491/1.491, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3789/0.3789, allocations: 43.55 MB / 314.5 MB, free: 9.086 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005043/0.0005044, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.1264, allocations: 58.87 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2374/0.3638, allocations: 36.66 MB / 479.4 MB, free: 29.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01907/0.383, allocations: 9.12 MB / 488.5 MB, free: 22.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01035/0.3934, allocations: 182 kB / 488.7 MB, free: 22.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006394/0.3998, allocations: 1.794 MB / 490.5 MB, free: 22.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01922/0.4191, allocations: 5.334 MB / 495.8 MB, free: 19.76 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003151/0.4223, allocations: 0.6682 MB / 496.5 MB, free: 19.5 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005627/0.4279, allocations: 2.513 MB / 499 MB, free: 18.47 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007459/0.4354, allocations: 4.136 MB / 0.4914 GB, free: 16.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002623/0.438, allocations: 1.083 MB / 0.4924 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002916/0.441, allocations: 1.514 MB / 0.4939 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007693/0.4418, allocations: 151.8 kB / 0.494 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002059/0.4438, allocations: 0.7066 MB / 0.4947 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00195/0.4458, allocations: 1.608 MB / 0.4963 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001196/0.447, allocations: 0.8314 MB / 0.4971 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007661/0.4547, allocations: 5.241 MB / 0.5022 GB, free: 12.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4547, allocations: 3.938 kB / 0.5022 GB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.4547, allocations: 1.062 kB / 0.5022 GB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002796/0.455, allocations: 0 / 0.5022 GB, free: 12.91 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.01153/0.4665, allocations: 4.043 MB / 0.5062 GB, free: 10.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.4666, allocations: 9.531 kB / 0.5062 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009254/0.4759, allocations: 2.297 MB / 0.5084 GB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006818/0.4827, allocations: 2.796 MB / 0.5112 GB, free: 7.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.483, allocations: 252.5 kB / 0.5114 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001396/0.4844, allocations: 329.7 kB / 0.5117 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01711/0.5015, allocations: 10.28 MB / 0.5218 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.5017, allocations: 55.52 kB / 0.5218 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004235/0.5021, allocations: 155.9 kB / 0.522 GB, free: 14.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/0.5049, allocations: 1.908 MB / 0.5238 GB, free: 12.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.5225, allocations: 8.244 MB / 0.5319 GB, free: 3.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05086/0.5735, allocations: 39.58 MB / 0.5705 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007877/0.5814, allocations: 3.272 MB / 0.5737 GB, free: 7.805 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009614/0.591, allocations: 5.994 MB / 0.5796 GB, free: 1.445 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.5911, allocations: 47.56 kB / 0.5796 GB, free: 1.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 4.258e-06/0.5911, allocations: 0 / 0.5796 GB, free: 1.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.02352/0.6147, allocations: 9.838 MB / 0.5892 GB, free: 7.391 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.6148, allocations: 149.5 kB / 0.5894 GB, free: 7.215 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006378/0.6212, allocations: 4.284 MB / 0.5936 GB, free: 2.906 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.6215, allocations: 53.7 kB / 0.5936 GB, free: 2.848 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002074/0.6236, allocations: 3.179 MB / 0.5967 GB, free: 15.62 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006765/0.6243, allocations: 0.6481 MB / 0.5973 GB, free: 14.96 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6245, allocations: 120 kB / 0.5975 GB, free: 14.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0003199/0.6248, allocations: 0.5622 MB / 0.598 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.6273, allocations: 1.609 MB / 0.5996 GB, free: 12.66 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004661/0.632, allocations: 5.45 MB / 0.6049 GB, free: 5.273 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004446/0.6364, allocations: 2.91 MB / 0.6077 GB, free: 2.371 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.108e-05/0.6365, allocations: 40 kB / 0.6078 GB, free: 2.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01413/0.6507, allocations: 6.812 MB / 0.6144 GB, free: 11.51 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.6508, allocations: 64 kB / 0.6145 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.6511, allocations: 140 kB / 0.6146 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.6513, allocations: 200 kB / 0.6148 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004503/0.6558, allocations: 1.424 MB / 0.6162 GB, free: 9.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001969/0.656, allocations: 267 kB / 0.6165 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004633/0.6606, allocations: 295.6 kB / 0.6168 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007408/0.6614, allocations: 372 kB / 0.6171 GB, free: 8.777 MB / 494.1 MB 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 (767): * Single equations (assignments): 764 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00415/0.6655, allocations: 2.044 MB / 0.6191 GB, free: 6.719 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006633/0.6662, allocations: 351.4 kB / 0.6194 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002218/0.6684, allocations: 1.345 MB / 0.6208 GB, free: 5.012 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.658e-05/0.6685, allocations: 16 kB / 0.6208 GB, free: 4.996 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.6685, allocations: 4 kB / 0.6208 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.6685, allocations: 7.984 kB / 0.6208 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009925/0.6784, allocations: 5.837 MB / 0.6265 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/0.6785, allocations: 20 kB / 0.6265 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009535/0.6795, allocations: 284.3 kB / 0.6268 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.103e-05/0.6795, allocations: 28 kB / 0.6268 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.069e-05/0.6796, allocations: 48 kB / 0.6268 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.247e-05/0.6796, allocations: 39.8 kB / 0.6269 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.709e-05/0.6796, allocations: 27.88 kB / 0.6269 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/0.6855, allocations: 5.297 MB / 0.6321 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001691/0.6872, allocations: 0.5354 MB / 0.6326 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/0.6876, allocations: 55.94 kB / 0.6327 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6887, allocations: 67.86 kB / 0.6327 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001687/0.6889, allocations: 143.5 kB / 0.6329 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.091e-05/0.689, allocations: 67.98 kB / 0.6329 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004406/0.6934, allocations: 2.696 MB / 0.6356 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6934, allocations: 0 / 0.6356 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005446/0.6989, allocations: 0.9141 MB / 0.6364 GB, free: 3.801 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005417/0.6994, allocations: 222.7 kB / 0.6367 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2312/0.9306, allocations: 3.72 MB / 0.6403 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.026e-05/0.9307, allocations: 1.594 kB / 0.6403 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.932, allocations: 0.7489 MB / 0.641 GB, free: 131.2 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002608/0.9346, allocations: 437.2 kB / 0.6414 GB, free: 131.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0152/0.9498, allocations: 10.4 MB / 0.6516 GB, free: 126.4 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/0.9527, allocations: 3.268 MB / 0.6548 GB, free: 125.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004347/0.9571, allocations: 1.817 MB / 0.6566 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004894/0.9576, allocations: 249.3 kB / 0.6568 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of SimCode: time 1.042e-06/0.9576, allocations: 0 / 0.6568 GB, free: 125.4 MB / 0.4981 GB Notification: Performance of Templates: time 0.05794/1.016, allocations: 27.62 MB / 0.6838 GB, free: 117.1 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches