Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001378/0.001378, allocations: 82.42 kB / 20.68 MB, free: 1.039 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.00155/0.00155, allocations: 168.3 kB / 23.96 MB, free: 4.164 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.466/1.466, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2374/0.2374, allocations: 34.29 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 442.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.439e-05/3.625e-05, allocations: 6.281 kB / 442.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2463/0.2464, allocations: 9.943 MB / 452.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008908/0.2553, allocations: 3.882 MB / 456.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002652/0.2579, allocations: 77.56 kB / 456.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006954/0.2649, allocations: 2.549 MB / 459.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007721/0.2726, allocations: 1.954 MB / 461.1 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.2753, allocations: 0.854 MB / 461.9 MB, free: 9.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0104/0.2857, allocations: 5.199 MB / 467.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007622/0.2933, allocations: 3.268 MB / 470.4 MB, free: 5.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00786/0.3011, allocations: 2.428 MB / 472.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005381/0.3065, allocations: 2.504 MB / 475.3 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001256/0.3078, allocations: 339.8 kB / 475.7 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002562/0.3103, allocations: 0.911 MB / 476.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.312, allocations: 2.055 MB / 478.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.3139, allocations: 1.32 MB / 480 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008852/0.3227, allocations: 6.871 MB / 486.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3227, allocations: 0 / 486.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3228, allocations: 0 / 486.8 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001743/0.3229, allocations: 0 / 486.8 MB, free: 9.902 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.01038/0.3333, allocations: 4.904 MB / 491.7 MB, free: 4.938 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3334, allocations: 11.97 kB / 491.7 MB, free: 4.926 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008701/0.3421, allocations: 2.127 MB / 493.9 MB, free: 2.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005715/0.3478, allocations: 2.261 MB / 496.1 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002386/0.348, allocations: 250.7 kB / 496.4 MB, free: 252 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008154/0.3488, allocations: 324.2 kB / 496.7 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.3709, allocations: 10.35 MB / 0.4952 GB, free: 4.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001442/0.371, allocations: 47.58 kB / 0.4952 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004886/0.3715, allocations: 159.8 kB / 0.4954 GB, free: 4.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0033/0.3748, allocations: 1.915 MB / 0.4972 GB, free: 2.625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01828/0.3931, allocations: 8.168 MB / 0.5052 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05047/0.4435, allocations: 36.95 MB / 0.5413 GB, free: 4.324 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009016/0.4525, allocations: 2.843 MB / 0.5441 GB, free: 1.422 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/0.4543, allocations: 0.9634 MB / 0.545 GB, free: 456 kB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008859/0.4631, allocations: 4.415 MB / 0.5493 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.769e-05/0.4632, allocations: 47.56 kB / 0.5494 GB, free: 11.94 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 5.34e-06/0.4632, allocations: 0 / 0.5494 GB, free: 11.94 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02878/0.492, allocations: 9.993 MB / 0.5591 GB, free: 1.902 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001646/0.4921, allocations: 196.9 kB / 0.5593 GB, free: 1.664 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009104/0.5012, allocations: 3.936 MB / 0.5632 GB, free: 13.73 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003256/0.5016, allocations: 45.7 kB / 0.5632 GB, free: 13.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003142/0.5047, allocations: 3.304 MB / 0.5664 GB, free: 10.34 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001095/0.5058, allocations: 0.6513 MB / 0.5671 GB, free: 9.684 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002463/0.5083, allocations: 1.207 MB / 0.5682 GB, free: 8.465 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.5085, allocations: 305.1 kB / 0.5685 GB, free: 8.164 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003828/0.5123, allocations: 1.684 MB / 0.5702 GB, free: 6.477 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00806/0.5204, allocations: 5.6 MB / 0.5756 GB, free: 14.93 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0116/0.532, allocations: 7.82 MB / 0.5833 GB, free: 5.184 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002074/0.5322, allocations: 43.94 kB / 0.5833 GB, free: 5.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01546/0.5476, allocations: 6.943 MB / 0.5901 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.5478, allocations: 66.19 kB / 0.5902 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002235/0.548, allocations: 136.5 kB / 0.5903 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002412/0.5483, allocations: 184 kB / 0.5905 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/0.5534, allocations: 1.458 MB / 0.5919 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003014/0.5537, allocations: 270.9 kB / 0.5922 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005547/0.5592, allocations: 407.5 kB / 0.5925 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.5603, allocations: 379.9 kB / 0.5929 GB, free: 11.33 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.004743/0.5651, allocations: 2.037 MB / 0.5949 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000965/0.566, allocations: 325.8 kB / 0.5952 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/0.5671, allocations: 386.5 kB / 0.5956 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.444e-05/0.5671, allocations: 20 kB / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.5671, allocations: 0 / 0.5956 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.277e-05/0.5671, allocations: 11.97 kB / 0.5956 GB, free: 8.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.5786, allocations: 4.742 MB / 0.6002 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.765e-05/0.5786, allocations: 16 kB / 0.6003 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.5798, allocations: 287.7 kB / 0.6005 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.367e-05/0.5798, allocations: 24 kB / 0.6005 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.5799, allocations: 48 kB / 0.6006 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.559e-05/0.58, allocations: 39.8 kB / 0.6006 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.932e-05/0.58, allocations: 27.88 kB / 0.6007 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004794/0.5848, allocations: 3.252 MB / 0.6038 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009652/0.5858, allocations: 329.8 kB / 0.6041 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007307/0.5865, allocations: 51.98 kB / 0.6042 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00177/0.5883, allocations: 123.8 kB / 0.6043 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.5885, allocations: 147.4 kB / 0.6045 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.5886, allocations: 60 kB / 0.6045 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004269/0.5929, allocations: 2.285 MB / 0.6067 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5929, allocations: 4 kB / 0.6067 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009639/0.6025, allocations: 0.9881 MB / 0.6077 GB, free: 11.63 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.001169/0.6037, allocations: 206.6 kB / 0.6079 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01192/0.6156, allocations: 3.717 MB / 0.6115 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.895e-05/0.6156, allocations: 1.688 kB / 0.6115 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001997/0.6176, allocations: 0.7149 MB / 0.6122 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/0.6225, allocations: 413.8 kB / 0.6126 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03095/0.6534, allocations: 8.674 MB / 0.6211 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007389/0.6608, allocations: 2.633 MB / 0.6237 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008376/0.6692, allocations: 1.779 MB / 0.6254 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/0.6703, allocations: 236.5 kB / 0.6256 GB, free: 8.973 MB / 0.5294 GB Notification: Performance of SimCode: time 1.092e-06/0.6703, allocations: 4 kB / 0.6256 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of Templates: time 0.2764/0.9467, allocations: 21.72 MB / 0.6469 GB, free: 163.4 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.9521754421293736]