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.001716/0.001716, allocations: 117.3 kB / 18.5 MB, free: 4.434 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.002239/0.002239, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.451/1.451, allocations: 230.2 MB / 254.5 MB, free: 15.39 MB / 206.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.2319/0.2319, allocations: 46.9 MB / 357.4 MB, free: 10.48 MB / 286.1 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 81.69 kB / 0.4913 GB, free: 26.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.13, allocations: 65.97 MB / 0.5557 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01375/0.1438, allocations: 11.42 MB / 0.5668 GB, free: 13.6 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008942/0.1527, allocations: 4.075 MB / 0.5708 GB, free: 9.508 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.1549, allocations: 71.75 kB / 0.5709 GB, free: 9.438 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005352/0.1602, allocations: 2.53 MB / 0.5734 GB, free: 6.898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00536/0.1656, allocations: 1.874 MB / 0.5752 GB, free: 5.02 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001884/0.1675, allocations: 0.776 MB / 0.5759 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006841/0.1743, allocations: 4.515 MB / 0.5803 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004287/0.1786, allocations: 2.87 MB / 0.5832 GB, free: 12.8 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003019/0.1816, allocations: 1.557 MB / 0.5847 GB, free: 11.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.1856, allocations: 2.399 MB / 0.587 GB, free: 8.832 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009875/0.1866, allocations: 335.9 kB / 0.5873 GB, free: 8.504 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002373/0.1889, allocations: 0.9948 MB / 0.5883 GB, free: 7.508 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002181/0.1911, allocations: 1.967 MB / 0.5902 GB, free: 5.535 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003029/0.1941, allocations: 2.241 MB / 0.5924 GB, free: 3.281 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008894/0.203, allocations: 6.839 MB / 0.5991 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.203, allocations: 7.938 kB / 0.5991 GB, free: 12.41 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.203, allocations: 0 / 0.5991 GB, free: 12.41 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002706/0.2033, allocations: 0 / 0.5991 GB, free: 12.41 MB / 462.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.01113/0.2145, allocations: 4.943 MB / 0.6039 GB, free: 7.387 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.2145, allocations: 8.031 kB / 0.6039 GB, free: 7.379 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001546/0.2161, allocations: 0.7358 MB / 0.6047 GB, free: 6.633 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007866/0.2239, allocations: 1.991 MB / 0.6066 GB, free: 4.637 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00698/0.2309, allocations: 2.786 MB / 0.6093 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.2312, allocations: 258.2 kB / 0.6096 GB, free: 1.535 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001116/0.2323, allocations: 327.8 kB / 0.6099 GB, free: 1.215 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2666/0.4989, allocations: 10.22 MB / 0.6199 GB, free: 42.03 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001584/0.499, allocations: 41.83 kB / 0.6199 GB, free: 42.01 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004771/0.4995, allocations: 163.2 kB / 0.6201 GB, free: 41.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003363/0.5029, allocations: 1.907 MB / 0.6219 GB, free: 41.59 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01703/0.5199, allocations: 8.17 MB / 0.6299 GB, free: 39.09 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03734/0.5572, allocations: 39.32 MB / 0.6683 GB, free: 5.262 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006704/0.5639, allocations: 3.18 MB / 0.6714 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.5651, allocations: 0.9591 MB / 0.6723 GB, free: 0.9492 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009367/0.5745, allocations: 5.995 MB / 0.6782 GB, free: 10.73 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.5745, allocations: 52.31 kB / 0.6782 GB, free: 10.68 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 4.308e-06/0.5745, allocations: 4 kB / 0.6783 GB, free: 10.67 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02283/0.5974, allocations: 9.751 MB / 0.6878 GB, free: 1.043 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.5975, allocations: 196.9 kB / 0.688 GB, free: 0.8086 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005767/0.6033, allocations: 4.064 MB / 0.6919 GB, free: 12.78 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.6035, allocations: 47.02 kB / 0.692 GB, free: 12.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002592/0.6061, allocations: 3.314 MB / 0.6952 GB, free: 9.402 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007348/0.6068, allocations: 0.663 MB / 0.6959 GB, free: 8.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001645/0.6084, allocations: 1.215 MB / 0.697 GB, free: 7.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6086, allocations: 309.1 kB / 0.6973 GB, free: 7.203 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002776/0.6113, allocations: 1.648 MB / 0.6989 GB, free: 5.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00604/0.6174, allocations: 5.514 MB / 0.7043 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009852/0.6272, allocations: 7.772 MB / 0.7119 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001044/0.6273, allocations: 36 kB / 0.712 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.0133/0.6406, allocations: 6.899 MB / 0.7187 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.737e-05/0.6407, allocations: 67.98 kB / 0.7188 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001589/0.6409, allocations: 140 kB / 0.7189 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.6411, allocations: 185.7 kB / 0.7191 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004277/0.6454, allocations: 1.423 MB / 0.7205 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002295/0.6456, allocations: 270.9 kB / 0.7207 GB, free: 11.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003686/0.6493, allocations: 299.8 kB / 0.721 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006376/0.6499, allocations: 383.9 kB / 0.7214 GB, free: 10.72 MB / 0.5137 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 (767): * Single equations (assignments): 764 * 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.00313/0.653, allocations: 2.025 MB / 0.7233 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006569/0.6537, allocations: 369.5 kB / 0.7237 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008003/0.6545, allocations: 414.7 kB / 0.7241 GB, free: 7.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-05/0.6545, allocations: 20 kB / 0.7241 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.6545, allocations: 0 / 0.7241 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.656e-05/0.6546, allocations: 7.969 kB / 0.7241 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01055/0.6651, allocations: 5.855 MB / 0.7298 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-05/0.6651, allocations: 16 kB / 0.7299 GB, free: 1.695 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6662, allocations: 288.3 kB / 0.7301 GB, free: 1.414 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.501e-05/0.6662, allocations: 24 kB / 0.7302 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.6663, allocations: 52 kB / 0.7302 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-05/0.6663, allocations: 35.86 kB / 0.7302 GB, free: 1.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/0.6663, allocations: 27.88 kB / 0.7303 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004312/0.6707, allocations: 3.328 MB / 0.7335 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/0.6717, allocations: 438.6 kB / 0.7339 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003947/0.6721, allocations: 47.98 kB / 0.734 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001135/0.6732, allocations: 67.94 kB / 0.734 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001959/0.6734, allocations: 151.4 kB / 0.7342 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.6735, allocations: 64 kB / 0.7342 GB, free: 12.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004382/0.6779, allocations: 2.512 MB / 0.7367 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6779, allocations: 0 / 0.7367 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004936/0.6829, allocations: 0.8905 MB / 0.7376 GB, free: 9.523 MB / 0.5294 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.004878/0.6877, allocations: 3.982 MB / 0.7415 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006362/0.6941, allocations: 3.668 MB / 0.745 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.6941, allocations: 4.812 kB / 0.745 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.6952, allocations: 0.7096 MB / 0.7457 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002641/0.6978, allocations: 477.2 kB / 0.7462 GB, free: 484 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05858/0.7564, allocations: 41.77 MB / 0.787 GB, free: 232 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/0.7604, allocations: 3.174 MB / 0.7901 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004416/0.7648, allocations: 1.816 MB / 0.7919 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003686/0.7685, allocations: 1.862 MB / 0.7937 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of SimCode: time 2.394e-06/0.7685, allocations: 0 / 0.7937 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3789/1.147, allocations: 59.13 MB / 0.8514 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.9/20.05, allocations: 7.938 kB / 0.8514 GB, free: 209.4 MB / 0.6387 GB " [Timeout remaining time 640] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 23.711259748786688]