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.00143/0.00143, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.00159/0.00159, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.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.2428/0.2428, allocations: 46.93 MB / 360.8 MB, free: 4.285 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002122/0.002122, allocations: 75.89 kB / 0.4966 GB, free: 7.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3939, allocations: 66.03 MB / 0.5611 GB, free: 4.406 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01497/0.4088, allocations: 11.45 MB / 0.5723 GB, free: 8.895 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01114/0.42, allocations: 4.108 MB / 0.5763 GB, free: 4.773 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002307/0.4223, allocations: 79.56 kB / 0.5764 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005359/0.4277, allocations: 2.527 MB / 0.5789 GB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005706/0.4334, allocations: 1.887 MB / 0.5807 GB, free: 272 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.4352, allocations: 0.7838 MB / 0.5815 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007438/0.4427, allocations: 4.511 MB / 0.5859 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004226/0.4469, allocations: 2.783 MB / 0.5886 GB, free: 8.129 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/0.4502, allocations: 1.581 MB / 0.5901 GB, free: 6.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00427/0.4545, allocations: 2.395 MB / 0.5925 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.4555, allocations: 332 kB / 0.5928 GB, free: 3.816 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002572/0.4581, allocations: 0.9948 MB / 0.5938 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00277/0.4609, allocations: 1.959 MB / 0.5957 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.4641, allocations: 2.241 MB / 0.5979 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01109/0.4751, allocations: 6.834 MB / 0.6045 GB, free: 7.742 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.019e-05/0.4752, allocations: 3.938 kB / 0.6045 GB, free: 7.738 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4752, allocations: 0 / 0.6045 GB, free: 7.738 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004005/0.4756, allocations: 0 / 0.6045 GB, free: 7.738 MB / 446.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.01256/0.4881, allocations: 4.833 MB / 0.6093 GB, free: 2.844 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4882, allocations: 12.03 kB / 0.6093 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007701/0.4959, allocations: 1.979 MB / 0.6112 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006023/0.5019, allocations: 2.269 MB / 0.6134 GB, free: 14.52 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002673/0.5022, allocations: 254.4 kB / 0.6137 GB, free: 14.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008691/0.503, allocations: 327.8 kB / 0.614 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02062/0.5236, allocations: 10.23 MB / 0.624 GB, free: 2.918 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/0.5238, allocations: 47.58 kB / 0.624 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005354/0.5243, allocations: 159.8 kB / 0.6242 GB, free: 2.715 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003147/0.5275, allocations: 1.904 MB / 0.626 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01895/0.5464, allocations: 8.177 MB / 0.634 GB, free: 8.613 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05419/0.6006, allocations: 39.19 MB / 0.6723 GB, free: 232 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008229/0.6089, allocations: 2.716 MB / 0.6749 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001713/0.6106, allocations: 0.9669 MB / 0.6759 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01238/0.623, allocations: 4.567 MB / 0.6803 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.536e-05/0.623, allocations: 59.44 kB / 0.6804 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 7.685e-06/0.6231, allocations: 0 / 0.6804 GB, free: 7.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.03527/0.6583, allocations: 9.592 MB / 0.6898 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001637/0.6585, allocations: 200.9 kB / 0.69 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00705/0.6655, allocations: 4.051 MB / 0.6939 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002636/0.6658, allocations: 45.7 kB / 0.694 GB, free: 9.797 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003369/0.6692, allocations: 3.306 MB / 0.6972 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00094/0.6701, allocations: 0.6669 MB / 0.6978 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001733/0.6718, allocations: 1.227 MB / 0.699 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000253/0.6721, allocations: 309.1 kB / 0.6993 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003111/0.6752, allocations: 1.663 MB / 0.701 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007246/0.6825, allocations: 5.542 MB / 0.7064 GB, free: 11.09 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/0.6954, allocations: 7.798 MB / 0.714 GB, free: 1.371 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001378/0.6955, allocations: 36 kB / 0.714 GB, free: 1.336 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01511/0.7107, allocations: 6.942 MB / 0.7208 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.7108, allocations: 64 kB / 0.7209 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/0.711, allocations: 139.9 kB / 0.721 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002504/0.7113, allocations: 180 kB / 0.7212 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005116/0.7164, allocations: 1.439 MB / 0.7226 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003/0.7167, allocations: 267 kB / 0.7228 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005255/0.722, allocations: 307.8 kB / 0.7231 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009386/0.7229, allocations: 376 kB / 0.7235 GB, free: 7.645 MB / 0.5606 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.004574/0.7275, allocations: 2.042 MB / 0.7255 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008825/0.7284, allocations: 369.6 kB / 0.7258 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.7295, allocations: 410.6 kB / 0.7262 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.273e-05/0.7295, allocations: 16 kB / 0.7262 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.7295, allocations: 0 / 0.7262 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.668e-05/0.7295, allocations: 19.84 kB / 0.7262 GB, free: 4.785 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3603/1.09, allocations: 5.802 MB / 0.7319 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.537e-05/1.09, allocations: 17.12 kB / 0.7319 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001249/1.091, allocations: 285 kB / 0.7322 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.023e-05/1.091, allocations: 27.64 kB / 0.7322 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/1.091, allocations: 52.03 kB / 0.7323 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.431e-05/1.091, allocations: 35.12 kB / 0.7323 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/1.091, allocations: 31.47 kB / 0.7323 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/1.095, allocations: 3.319 MB / 0.7356 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/1.096, allocations: 357.1 kB / 0.7359 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003479/1.096, allocations: 51.42 kB / 0.736 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/1.097, allocations: 63.69 kB / 0.736 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.098, allocations: 150.9 kB / 0.7362 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.183e-05/1.098, allocations: 65.16 kB / 0.7362 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003442/1.101, allocations: 2.506 MB / 0.7387 GB, free: 148 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/1.101, allocations: 3.875 kB / 0.7387 GB, free: 148 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004976/1.106, allocations: 0.8935 MB / 0.7396 GB, free: 147.9 MB / 0.5606 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.0004223/1.107, allocations: 191.9 kB / 0.7397 GB, free: 147.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005703/1.112, allocations: 3.692 MB / 0.7434 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.647e-05/1.112, allocations: 0 / 0.7434 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/1.113, allocations: 0.71 MB / 0.744 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003014/1.116, allocations: 481 kB / 0.7445 GB, free: 146.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01383/1.13, allocations: 8.869 MB / 0.7532 GB, free: 140.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.133, allocations: 3.172 MB / 0.7563 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003626/1.137, allocations: 1.82 MB / 0.758 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005166/1.137, allocations: 235.4 kB / 0.7583 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.137, allocations: 0 / 0.7583 GB, free: 136.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05344/1.191, allocations: 29.42 MB / 0.787 GB, free: 107.4 MB / 0.5606 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: 7.572527087992057]