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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001103/0.001103, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.1 MB / 222.5 MB, free: 8.469 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009085/0.0009086, allocations: 101.5 kB / 269.9 MB, free: 8.43 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3631/0.3631, allocations: 43.49 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 51.92 kB / 429.2 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.134, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2984/0.4324, allocations: 42.89 MB / 0.5175 GB, free: 36.53 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0248/0.4573, allocations: 9.261 MB / 0.5265 GB, free: 33.27 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01328/0.4706, allocations: 187.4 kB / 0.5267 GB, free: 33.24 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006289/0.477, allocations: 2.463 MB / 0.5291 GB, free: 32.18 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006396/0.4835, allocations: 1.754 MB / 0.5308 GB, free: 31.42 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.4852, allocations: 0.7251 MB / 0.5315 GB, free: 31.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.006934/0.4921, allocations: 6.188 MB / 0.5376 GB, free: 29.32 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003996/0.4961, allocations: 3.316 MB / 0.5408 GB, free: 28.14 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.4984, allocations: 1.402 MB / 0.5422 GB, free: 27.6 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.5009, allocations: 2.38 MB / 0.5445 GB, free: 26.81 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005067/0.5014, allocations: 245.9 kB / 0.5447 GB, free: 26.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001839/0.5033, allocations: 0.9343 MB / 0.5456 GB, free: 26.59 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001997/0.5053, allocations: 1.882 MB / 0.5475 GB, free: 25.97 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.5075, allocations: 2.181 MB / 0.5496 GB, free: 24.5 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.5175, allocations: 6.558 MB / 0.556 GB, free: 22.13 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.5176, allocations: 1.094 kB / 0.556 GB, free: 22.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.5176, allocations: 0 / 0.556 GB, free: 22.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003008/0.5179, allocations: 0 / 0.556 GB, free: 22.13 MB / 394.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.01386/0.5318, allocations: 4.849 MB / 0.5608 GB, free: 19.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.5318, allocations: 8.812 kB / 0.5608 GB, free: 19.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007508/0.5393, allocations: 1.947 MB / 0.5627 GB, free: 18.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006266/0.5456, allocations: 2.44 MB / 0.565 GB, free: 16.52 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002032/0.5459, allocations: 248.2 kB / 0.5653 GB, free: 16.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009025/0.5468, allocations: 334.4 kB / 0.5656 GB, free: 16.28 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01836/0.5652, allocations: 10.2 MB / 0.5756 GB, free: 9.871 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/0.5654, allocations: 56.95 kB / 0.5756 GB, free: 9.836 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000515/0.5659, allocations: 154.6 kB / 0.5758 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002502/0.5684, allocations: 1.907 MB / 0.5776 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01719/0.5856, allocations: 8.142 MB / 0.5856 GB, free: 15.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05676/0.6424, allocations: 39.43 MB / 0.6241 GB, free: 7.074 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008295/0.6508, allocations: 3.282 MB / 0.6273 GB, free: 3.621 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001825/0.6526, allocations: 1.048 MB / 0.6283 GB, free: 2.562 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01105/0.6637, allocations: 5.908 MB / 0.6341 GB, free: 12.29 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/0.6638, allocations: 47.56 kB / 0.6341 GB, free: 12.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 5.27e-06/0.6638, allocations: 0 / 0.6341 GB, free: 12.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.02434/0.6882, allocations: 9.481 MB / 0.6434 GB, free: 2.641 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/0.6883, allocations: 141.5 kB / 0.6435 GB, free: 2.469 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/0.6938, allocations: 4.083 MB / 0.6475 GB, free: 14.36 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002178/0.694, allocations: 49.61 kB / 0.6476 GB, free: 14.3 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001943/0.696, allocations: 3.179 MB / 0.6507 GB, free: 11.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/0.6966, allocations: 0.6327 MB / 0.6513 GB, free: 10.44 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.698, allocations: 1.214 MB / 0.6525 GB, free: 9.211 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.451e-05/0.6981, allocations: 309.1 kB / 0.6528 GB, free: 8.906 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.7004, allocations: 1.656 MB / 0.6544 GB, free: 7.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004762/0.7052, allocations: 5.513 MB / 0.6598 GB, free: 15.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008353/0.7136, allocations: 7.794 MB / 0.6674 GB, free: 6.078 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-05/0.7137, allocations: 40 kB / 0.6674 GB, free: 6.039 MB / 490.7 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01187/0.7256, allocations: 6.91 MB / 0.6742 GB, free: 15.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.989e-05/0.7257, allocations: 64 kB / 0.6742 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/0.7258, allocations: 136 kB / 0.6743 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.726, allocations: 180 kB / 0.6745 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003841/0.7298, allocations: 1.435 MB / 0.6759 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000184/0.73, allocations: 267.2 kB / 0.6762 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003689/0.7337, allocations: 295.6 kB / 0.6765 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004002/0.7342, allocations: 379.9 kB / 0.6768 GB, free: 12.39 MB / 0.4948 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.003417/0.7376, allocations: 2.044 MB / 0.6788 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007399/0.7383, allocations: 351.5 kB / 0.6791 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.7407, allocations: 1.337 MB / 0.6805 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.407e-05/0.7407, allocations: 16 kB / 0.6805 GB, free: 8.617 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/0.7407, allocations: 4 kB / 0.6805 GB, free: 8.613 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7408, allocations: 7.969 kB / 0.6805 GB, free: 8.605 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009617/0.7504, allocations: 5.832 MB / 0.6862 GB, free: 2.469 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.069e-05/0.7504, allocations: 16 kB / 0.6862 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.7513, allocations: 275.5 kB / 0.6865 GB, free: 2.184 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.171e-05/0.7514, allocations: 24 kB / 0.6865 GB, free: 2.16 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-05/0.7515, allocations: 55.98 kB / 0.6865 GB, free: 2.105 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-05/0.7515, allocations: 36.33 kB / 0.6866 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-05/0.7515, allocations: 28.31 kB / 0.6866 GB, free: 2.043 MB / 0.4948 GB 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.2524/1.004, allocations: 8.097 MB / 0.6945 GB, free: 151.1 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.005, allocations: 0.5237 MB / 0.695 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/1.005, allocations: 47.62 kB / 0.6951 GB, free: 150.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/1.006, allocations: 65.48 kB / 0.6951 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/1.007, allocations: 149.7 kB / 0.6953 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001188/1.007, allocations: 67.22 kB / 0.6953 GB, free: 150.7 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003802/1.011, allocations: 2.527 MB / 0.6978 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/1.011, allocations: 3.656 kB / 0.6978 GB, free: 149.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005768/1.016, allocations: 1.146 MB / 0.6989 GB, free: 149.7 MB / 0.4948 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.000492/1.017, allocations: 199.1 kB / 0.6991 GB, free: 149.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.005777/1.023, allocations: 3.779 MB / 0.7028 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.023, allocations: 6.75 kB / 0.7028 GB, free: 148.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/1.024, allocations: 0.7433 MB / 0.7035 GB, free: 148.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/1.026, allocations: 462.6 kB / 0.704 GB, free: 148 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01457/1.041, allocations: 11.79 MB / 0.7155 GB, free: 141.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003114/1.044, allocations: 3.238 MB / 0.7186 GB, free: 140 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.004204/1.048, allocations: 1.819 MB / 0.7204 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005506/1.049, allocations: 247.5 kB / 0.7207 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/1.049, allocations: 0 / 0.7207 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.05982/1.109, allocations: 29.29 MB / 0.7493 GB, free: 129.4 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.makefile (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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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