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.001402/0.001402, allocations: 116.2 kB / 17.08 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 200.2 kB / 18.02 MB, free: 5.047 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.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2101/0.2101, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 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.001868/0.001868, allocations: 69.45 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1196, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01352/0.1332, allocations: 11.45 MB / 0.4997 GB, free: 288 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009724/0.143, allocations: 4.043 MB / 0.5037 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002732/0.1458, allocations: 63.81 kB / 0.5037 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005751/0.1516, allocations: 2.503 MB / 0.5062 GB, free: 9.652 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006179/0.1579, allocations: 1.871 MB / 0.508 GB, free: 7.773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002344/0.1602, allocations: 0.7916 MB / 0.5088 GB, free: 6.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007361/0.1676, allocations: 4.453 MB / 0.5131 GB, free: 2.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005526/0.1732, allocations: 3.339 MB / 0.5164 GB, free: 15.12 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003496/0.1767, allocations: 1.585 MB / 0.5179 GB, free: 13.53 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003962/0.1807, allocations: 2.227 MB / 0.5201 GB, free: 11.3 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001497/0.1823, allocations: 332 kB / 0.5204 GB, free: 10.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00343/0.1857, allocations: 0.9831 MB / 0.5214 GB, free: 9.988 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003326/0.1891, allocations: 1.944 MB / 0.5233 GB, free: 8.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004643/0.1938, allocations: 2.26 MB / 0.5255 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3127/0.5065, allocations: 6.879 MB / 0.5322 GB, free: 16.94 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.5066, allocations: 0 / 0.5322 GB, free: 16.94 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.5066, allocations: 0 / 0.5322 GB, free: 16.94 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000302/0.5069, allocations: 0 / 0.5322 GB, free: 16.94 MB / 414.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.01518/0.5221, allocations: 4.832 MB / 0.5369 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.341e-05/0.5222, allocations: 12.7 kB / 0.5369 GB, free: 15.08 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009351/0.5316, allocations: 1.949 MB / 0.5388 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006629/0.5382, allocations: 2.477 MB / 0.5413 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003514/0.5386, allocations: 257.2 kB / 0.5415 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.5403, allocations: 331.5 kB / 0.5418 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02515/0.5654, allocations: 10.21 MB / 0.5518 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002262/0.5657, allocations: 47.03 kB / 0.5518 GB, free: 11.45 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008782/0.5666, allocations: 165.1 kB / 0.552 GB, free: 11.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003603/0.5702, allocations: 1.904 MB / 0.5539 GB, free: 11.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.5889, allocations: 8.15 MB / 0.5618 GB, free: 8.758 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05088/0.6399, allocations: 39.25 MB / 0.6001 GB, free: 4.637 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008432/0.6483, allocations: 3.286 MB / 0.6034 GB, free: 1.203 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/0.6502, allocations: 1.055 MB / 0.6044 GB, free: 144 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01013/0.6603, allocations: 5.906 MB / 0.6101 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.6604, allocations: 54.75 kB / 0.6102 GB, free: 9.863 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 5.711e-06/0.6604, allocations: 0 / 0.6102 GB, free: 9.863 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02795/0.6884, allocations: 9.481 MB / 0.6195 GB, free: 316 kB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.6885, allocations: 196.9 kB / 0.6196 GB, free: 76 kB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008048/0.6966, allocations: 4.069 MB / 0.6236 GB, free: 11.98 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002751/0.6969, allocations: 49.7 kB / 0.6237 GB, free: 11.93 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00268/0.6996, allocations: 3.184 MB / 0.6268 GB, free: 8.762 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008679/0.7005, allocations: 0.6352 MB / 0.6274 GB, free: 8.133 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002818/0.7033, allocations: 1.214 MB / 0.6286 GB, free: 6.906 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.7035, allocations: 305.1 kB / 0.6289 GB, free: 6.605 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003126/0.7066, allocations: 1.652 MB / 0.6305 GB, free: 4.949 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007113/0.7138, allocations: 5.533 MB / 0.6359 GB, free: 13.55 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01116/0.725, allocations: 7.789 MB / 0.6435 GB, free: 4.387 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001816/0.7252, allocations: 40 kB / 0.6435 GB, free: 4.348 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0146/0.7398, allocations: 6.907 MB / 0.6503 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001948/0.7401, allocations: 68.03 kB / 0.6503 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003367/0.7404, allocations: 139.9 kB / 0.6505 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.7407, allocations: 180 kB / 0.6507 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004893/0.7456, allocations: 1.435 MB / 0.6521 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/0.746, allocations: 267 kB / 0.6523 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/0.7508, allocations: 295.6 kB / 0.6526 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/0.7519, allocations: 376 kB / 0.6529 GB, free: 10.83 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.004353/0.7563, allocations: 2.042 MB / 0.6549 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008932/0.7572, allocations: 347.5 kB / 0.6553 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.7602, allocations: 1.344 MB / 0.6566 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-05/0.7603, allocations: 20 kB / 0.6566 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.7603, allocations: 0 / 0.6566 GB, free: 7.047 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.847e-05/0.7603, allocations: 7.969 kB / 0.6566 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01338/0.7737, allocations: 5.817 MB / 0.6623 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.127e-05/0.7738, allocations: 20 kB / 0.6623 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001134/0.775, allocations: 279.5 kB / 0.6626 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-05/0.775, allocations: 24.75 kB / 0.6626 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001824/0.7752, allocations: 51.98 kB / 0.6627 GB, free: 0.5781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.261e-05/0.7752, allocations: 43.25 kB / 0.6627 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-05/0.7753, allocations: 23.94 kB / 0.6627 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/0.7799, allocations: 3.288 MB / 0.6659 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/0.7815, allocations: 0.5237 MB / 0.6664 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009944/0.7825, allocations: 47.98 kB / 0.6665 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.7844, allocations: 59.97 kB / 0.6665 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000251/0.7847, allocations: 147.4 kB / 0.6667 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.7849, allocations: 67.98 kB / 0.6667 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005345/0.7902, allocations: 2.523 MB / 0.6692 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7903, allocations: 0 / 0.6692 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007088/0.7974, allocations: 0.9101 MB / 0.6701 GB, free: 8.676 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.0007219/0.7981, allocations: 199.8 kB / 0.6703 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007417/0.8056, allocations: 3.828 MB / 0.674 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.039e-05/0.8056, allocations: 0 / 0.674 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.8069, allocations: 0.7527 MB / 0.6748 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/0.8115, allocations: 479.5 kB / 0.6752 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0208/0.8324, allocations: 9.162 MB / 0.6842 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005494/0.8379, allocations: 3.177 MB / 0.6873 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.839, allocations: 287.4 kB / 0.6875 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.8391, allocations: 0 / 0.6875 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of Templates: time 0.09162/0.9307, allocations: 53.92 MB / 0.7402 GB, free: 0.6133 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches