Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001302/0.001302, allocations: 78.33 kB / 21.24 MB, free: 0.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001682/0.001682, allocations: 162 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 177.1 MB / 204.7 MB, free: 8.969 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 34.26 MB / 295.4 MB, free: 14.48 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.Spring") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002747/0.002747, allocations: 83.86 kB / 443.2 MB, free: 6.469 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3576, allocations: 66.05 MB / 0.4973 GB, free: 29.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008549/0.3661, allocations: 9.938 MB / 0.507 GB, free: 23.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007034/0.3731, allocations: 3.877 MB / 0.5108 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.375, allocations: 79.62 kB / 0.5108 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.3791, allocations: 2.434 MB / 0.5132 GB, free: 19.77 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00556/0.3847, allocations: 1.893 MB / 0.5151 GB, free: 18.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001857/0.3866, allocations: 0.7807 MB / 0.5158 GB, free: 18.57 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007894/0.3945, allocations: 4.515 MB / 0.5202 GB, free: 16.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004563/0.399, allocations: 2.764 MB / 0.5229 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003566/0.4026, allocations: 1.577 MB / 0.5245 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004989/0.4076, allocations: 2.266 MB / 0.5267 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.4093, allocations: 332.1 kB / 0.527 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.4122, allocations: 0.8622 MB / 0.5278 GB, free: 14.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002948/0.4152, allocations: 1.969 MB / 0.5298 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003598/0.4188, allocations: 1.67 MB / 0.5314 GB, free: 12.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00913/0.4279, allocations: 6.876 MB / 0.5381 GB, free: 8.176 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.4279, allocations: 1.188 kB / 0.5381 GB, free: 8.176 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4279, allocations: 0 / 0.5381 GB, free: 8.176 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003158/0.4282, allocations: 0 / 0.5381 GB, free: 8.176 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.01191/0.4402, allocations: 4.843 MB / 0.5428 GB, free: 4.824 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.4402, allocations: 8.719 kB / 0.5429 GB, free: 4.824 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008255/0.4485, allocations: 2.126 MB / 0.5449 GB, free: 3.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.4541, allocations: 2.284 MB / 0.5472 GB, free: 2.234 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4543, allocations: 250.4 kB / 0.5474 GB, free: 1.988 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008443/0.4551, allocations: 327.8 kB / 0.5477 GB, free: 1.668 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02043/0.4756, allocations: 10.35 MB / 0.5578 GB, free: 6.492 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.4757, allocations: 47.64 kB / 0.5579 GB, free: 6.445 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.4761, allocations: 163.8 kB / 0.558 GB, free: 6.285 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003099/0.4792, allocations: 1.904 MB / 0.5599 GB, free: 4.375 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01861/0.4978, allocations: 8.169 MB / 0.5679 GB, free: 12.18 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0523/0.5501, allocations: 36.86 MB / 0.6039 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008674/0.5588, allocations: 2.854 MB / 0.6066 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.5605, allocations: 0.9638 MB / 0.6076 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008708/0.5692, allocations: 4.336 MB / 0.6118 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.696e-05/0.5693, allocations: 47.56 kB / 0.6119 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.98e-06/0.5693, allocations: 0 / 0.6119 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02453/0.5938, allocations: 9.912 MB / 0.6215 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001315/0.5939, allocations: 200.9 kB / 0.6217 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005961/0.5999, allocations: 3.784 MB / 0.6254 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.6, allocations: 49.64 kB / 0.6255 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002771/0.6028, allocations: 3.335 MB / 0.6287 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006736/0.6035, allocations: 0.6591 MB / 0.6294 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001596/0.6051, allocations: 1.231 MB / 0.6306 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.6052, allocations: 305.1 kB / 0.6309 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002919/0.6081, allocations: 1.683 MB / 0.6325 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006074/0.6142, allocations: 5.608 MB / 0.638 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.6249, allocations: 7.819 MB / 0.6456 GB, free: 7.227 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/0.625, allocations: 36 kB / 0.6457 GB, free: 7.191 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01378/0.6388, allocations: 6.954 MB / 0.6524 GB, free: 240 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.74e-05/0.6389, allocations: 64 kB / 0.6525 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001458/0.6391, allocations: 136 kB / 0.6526 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002034/0.6393, allocations: 180 kB / 0.6528 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004485/0.6437, allocations: 1.45 MB / 0.6542 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002279/0.644, allocations: 267 kB / 0.6545 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003918/0.6479, allocations: 351.7 kB / 0.6548 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005072/0.6484, allocations: 376 kB / 0.6552 GB, free: 13.44 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.003681/0.6521, allocations: 2.048 MB / 0.6572 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000603/0.6527, allocations: 325.8 kB / 0.6575 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006525/0.6533, allocations: 378.6 kB / 0.6578 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.487e-05/0.6534, allocations: 20 kB / 0.6579 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6534, allocations: 4 kB / 0.6579 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.6534, allocations: 3.984 kB / 0.6579 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008443/0.6618, allocations: 4.68 MB / 0.6624 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.627e-05/0.6618, allocations: 20.3 kB / 0.6625 GB, free: 5.691 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.6629, allocations: 295.5 kB / 0.6627 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-05/0.6629, allocations: 27.98 kB / 0.6628 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.663, allocations: 44 kB / 0.6628 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.028e-05/0.663, allocations: 35.86 kB / 0.6628 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/0.663, allocations: 23.94 kB / 0.6629 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004352/0.6674, allocations: 3.287 MB / 0.6661 GB, free: 1.738 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006979/0.6681, allocations: 317.7 kB / 0.6664 GB, free: 1.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002781/0.6684, allocations: 47.98 kB / 0.6664 GB, free: 1.379 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6695, allocations: 83.91 kB / 0.6665 GB, free: 1.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/0.6697, allocations: 151.3 kB / 0.6667 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/0.6698, allocations: 67.98 kB / 0.6667 GB, free: 1.082 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003558/0.6734, allocations: 2.164 MB / 0.6688 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6734, allocations: 0 / 0.6688 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00475/0.6781, allocations: 0.8866 MB / 0.6697 GB, free: 14.04 MB / 0.5762 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.0003923/0.6785, allocations: 190.8 kB / 0.6699 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00664/0.6851, allocations: 3.713 MB / 0.6735 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/0.6852, allocations: 5.625 kB / 0.6735 GB, free: 10.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.6863, allocations: 0.7063 MB / 0.6742 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.6888, allocations: 411.4 kB / 0.6746 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01551/0.7043, allocations: 8.815 MB / 0.6832 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003664/0.7079, allocations: 2.633 MB / 0.6858 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004105/0.712, allocations: 1.771 MB / 0.6875 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.7126, allocations: 232.5 kB / 0.6877 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of SimCode: time 1.032e-06/0.7126, allocations: 3.938 kB / 0.6877 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.3128/1.025, allocations: 20.46 MB / 0.7077 GB, free: 162.1 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.910879445029423]