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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) 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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001243/0.00125, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.434/1.434, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001003, allocations: 111.1 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3952/0.3952, allocations: 44.12 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.92 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4045, allocations: 60.8 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.03411/0.4387, allocations: 42.84 MB / 0.5482 GB, free: 7.707 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01985/0.4586, allocations: 9.256 MB / 0.5573 GB, free: 1.547 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00966/0.4683, allocations: 181 kB / 0.5574 GB, free: 1.52 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004802/0.4731, allocations: 2.47 MB / 0.5599 GB, free: 384 kB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005027/0.4782, allocations: 1.744 MB / 0.5616 GB, free: 15.62 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001885/0.4801, allocations: 0.7206 MB / 0.5623 GB, free: 15.3 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009833/0.4899, allocations: 6.138 MB / 0.5683 GB, free: 13.54 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006166/0.4962, allocations: 3.303 MB / 0.5715 GB, free: 12.32 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.4999, allocations: 1.386 MB / 0.5728 GB, free: 11.78 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004889/0.5049, allocations: 2.38 MB / 0.5752 GB, free: 9.492 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001474/0.5064, allocations: 244 kB / 0.5754 GB, free: 9.254 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.5094, allocations: 0.9362 MB / 0.5763 GB, free: 8.316 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002288/0.5117, allocations: 1.886 MB / 0.5781 GB, free: 6.426 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003192/0.5149, allocations: 2.178 MB / 0.5803 GB, free: 4.234 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007436/0.5224, allocations: 6.553 MB / 0.5867 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.5224, allocations: 4 kB / 0.5867 GB, free: 13.66 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.5224, allocations: 3.938 kB / 0.5867 GB, free: 13.65 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002449/0.5227, allocations: 0 / 0.5867 GB, free: 13.65 MB / 410.7 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.01023/0.5329, allocations: 4.819 MB / 0.5914 GB, free: 8.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.533, allocations: 8.031 kB / 0.5914 GB, free: 8.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007643/0.5407, allocations: 1.949 MB / 0.5933 GB, free: 6.797 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005611/0.5463, allocations: 2.333 MB / 0.5956 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.5466, allocations: 266.4 kB / 0.5958 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008988/0.5475, allocations: 323.8 kB / 0.5961 GB, free: 3.824 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01721/0.5647, allocations: 10.2 MB / 0.6061 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001118/0.5648, allocations: 47.53 kB / 0.6061 GB, free: 8.789 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004206/0.5653, allocations: 159.9 kB / 0.6063 GB, free: 8.633 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/0.5681, allocations: 1.908 MB / 0.6082 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01629/0.5844, allocations: 8.142 MB / 0.6161 GB, free: 14.55 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04995/0.6343, allocations: 39.42 MB / 0.6546 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007817/0.6422, allocations: 3.262 MB / 0.6578 GB, free: 2.535 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001493/0.6437, allocations: 1.053 MB / 0.6588 GB, free: 1.469 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009073/0.6528, allocations: 5.913 MB / 0.6646 GB, free: 11.18 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.609e-05/0.6529, allocations: 55.44 kB / 0.6647 GB, free: 11.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=148): time 3.166e-06/0.6529, allocations: 0 / 0.6647 GB, free: 11.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.02165/0.6746, allocations: 9.445 MB / 0.6739 GB, free: 1.566 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.631e-05/0.6747, allocations: 145.5 kB / 0.674 GB, free: 1.391 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2976/0.9723, allocations: 4.042 MB / 0.678 GB, free: 131.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002846/0.9727, allocations: 47.36 kB / 0.678 GB, free: 131.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001947/0.9746, allocations: 3.176 MB / 0.6811 GB, free: 129.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006711/0.9753, allocations: 0.6413 MB / 0.6817 GB, free: 129.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/0.9767, allocations: 1.212 MB / 0.6829 GB, free: 128.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.355e-05/0.9768, allocations: 305.8 kB / 0.6832 GB, free: 128.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002576/0.9794, allocations: 1.657 MB / 0.6848 GB, free: 127.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004472/0.9839, allocations: 5.513 MB / 0.6902 GB, free: 122.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007193/0.9911, allocations: 7.788 MB / 0.6978 GB, free: 115.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001277/0.9913, allocations: 39.38 kB / 0.6979 GB, free: 115.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0118/1.003, allocations: 6.909 MB / 0.7046 GB, free: 112.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.003, allocations: 71.2 kB / 0.7047 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001736/1.003, allocations: 136.1 kB / 0.7048 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001778/1.004, allocations: 179.8 kB / 0.705 GB, free: 112.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004577/1.008, allocations: 1.432 MB / 0.7064 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002927/1.008, allocations: 271.3 kB / 0.7066 GB, free: 112.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005104/1.014, allocations: 298.9 kB / 0.7069 GB, free: 112.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/1.015, allocations: 376.4 kB / 0.7073 GB, free: 112 MB / 490.7 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 (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.004027/1.019, allocations: 2.031 MB / 0.7093 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008284/1.02, allocations: 346.1 kB / 0.7096 GB, free: 110.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002387/1.022, allocations: 1.346 MB / 0.7109 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.337e-05/1.022, allocations: 22.06 kB / 0.7109 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.022, allocations: 3.328 kB / 0.7109 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.243e-05/1.022, allocations: 8.109 kB / 0.7109 GB, free: 110.3 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/1.033, allocations: 5.824 MB / 0.7166 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.762e-05/1.033, allocations: 17.44 kB / 0.7166 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001111/1.035, allocations: 286.5 kB / 0.7169 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.694e-05/1.035, allocations: 23.97 kB / 0.7169 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.035, allocations: 44.94 kB / 0.717 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.951e-05/1.035, allocations: 31.86 kB / 0.717 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-05/1.035, allocations: 30.81 kB / 0.717 GB, free: 107.6 MB / 490.7 MB Error: The model contains alias variables with conflicting fixed start values. It is necessary to resolve the conflicts, because otherwise the initial system is impossible to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01198/1.047, allocations: 8.067 MB / 0.7249 GB, free: 103 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/1.048, allocations: 421.2 kB / 0.7253 GB, free: 102.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/1.048, allocations: 55.89 kB / 0.7254 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/1.049, allocations: 57.98 kB / 0.7254 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001917/1.049, allocations: 150.9 kB / 0.7256 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.712e-05/1.049, allocations: 65.5 kB / 0.7256 GB, free: 102.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.003889/1.053, allocations: 2.51 MB / 0.7281 GB, free: 101.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.053, allocations: 0 / 0.7281 GB, free: 101.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00609/1.059, allocations: 1.139 MB / 0.7292 GB, free: 101.6 MB / 490.7 MB 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.0004897/1.06, allocations: 210.4 kB / 0.7294 GB, free: 101.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00637/1.066, allocations: 3.774 MB / 0.7331 GB, free: 99.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.645e-05/1.066, allocations: 4 kB / 0.7331 GB, free: 99.64 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009958/1.067, allocations: 0.7511 MB / 0.7338 GB, free: 98.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002973/1.07, allocations: 458.2 kB / 0.7343 GB, free: 98.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01542/1.086, allocations: 11.75 MB / 0.7457 GB, free: 87.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003776/1.089, allocations: 3.231 MB / 0.7489 GB, free: 84.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004487/1.094, allocations: 1.823 MB / 0.7507 GB, free: 83.74 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007391/1.095, allocations: 243 kB / 0.7509 GB, free: 83.51 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.095, allocations: 0 / 0.7509 GB, free: 83.51 MB / 490.7 MB Notification: Performance of Templates: time 0.0562/1.151, allocations: 29.22 MB / 0.7794 GB, free: 55.78 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.makefile (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) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches