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.0014/0.0014, allocations: 114 kB / 20.44 MB, free: 1.469 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.001637/0.001637, allocations: 213.4 kB / 23.74 MB, free: 4.695 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8.043 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.2268/0.2268, allocations: 46.92 MB / 360.8 MB, free: 4.223 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.002382/0.002382, allocations: 83.86 kB / 0.4962 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3248/0.3272, allocations: 66.08 MB / 0.5607 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01348/0.3407, allocations: 11.44 MB / 0.5719 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008662/0.3493, allocations: 4.106 MB / 0.5759 GB, free: 4.711 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.3511, allocations: 75.62 kB / 0.576 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005329/0.3565, allocations: 2.53 MB / 0.5785 GB, free: 2.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.3617, allocations: 1.895 MB / 0.5803 GB, free: 200 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.3638, allocations: 0.7799 MB / 0.5811 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006936/0.3707, allocations: 4.514 MB / 0.5855 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00417/0.3749, allocations: 2.779 MB / 0.5882 GB, free: 8.059 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002823/0.3777, allocations: 1.585 MB / 0.5897 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004394/0.3821, allocations: 2.395 MB / 0.5921 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001283/0.3834, allocations: 332 kB / 0.5924 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002645/0.386, allocations: 0.9909 MB / 0.5934 GB, free: 2.75 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002828/0.3888, allocations: 1.971 MB / 0.5953 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003838/0.3927, allocations: 2.237 MB / 0.5975 GB, free: 14.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009725/0.4024, allocations: 6.855 MB / 0.6042 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4024, allocations: 0 / 0.6042 GB, free: 7.641 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4024, allocations: 0 / 0.6042 GB, free: 7.641 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002394/0.4027, allocations: 0 / 0.6042 GB, free: 7.641 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.01145/0.4141, allocations: 4.869 MB / 0.6089 GB, free: 2.711 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.4142, allocations: 8.031 kB / 0.6089 GB, free: 2.703 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001809/0.416, allocations: 0.7319 MB / 0.6097 GB, free: 1.961 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007721/0.4237, allocations: 1.993 MB / 0.6116 GB, free: 15.96 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.4298, allocations: 2.704 MB / 0.6142 GB, free: 13.2 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002786/0.4301, allocations: 262.3 kB / 0.6145 GB, free: 12.94 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.4312, allocations: 331.7 kB / 0.6148 GB, free: 12.62 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.4511, allocations: 10.23 MB / 0.6248 GB, free: 1.59 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001832/0.4513, allocations: 51.52 kB / 0.6248 GB, free: 1.539 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/0.4524, allocations: 159.9 kB / 0.625 GB, free: 1.383 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003375/0.4557, allocations: 1.908 MB / 0.6269 GB, free: 15.47 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.4754, allocations: 8.169 MB / 0.6348 GB, free: 7.281 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05191/0.5273, allocations: 39.18 MB / 0.6731 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007919/0.5352, allocations: 2.732 MB / 0.6758 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.5369, allocations: 0.9514 MB / 0.6767 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008618/0.5455, allocations: 4.57 MB / 0.6812 GB, free: 6.547 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.5455, allocations: 47.56 kB / 0.6812 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.398e-06/0.5456, allocations: 0 / 0.6812 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02422/0.5698, allocations: 9.613 MB / 0.6906 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001443/0.5699, allocations: 204.8 kB / 0.6908 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006207/0.5761, allocations: 4.056 MB / 0.6948 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002725/0.5764, allocations: 53.7 kB / 0.6948 GB, free: 8.438 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/0.5792, allocations: 3.306 MB / 0.698 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000784/0.58, allocations: 0.6747 MB / 0.6987 GB, free: 4.418 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/0.5817, allocations: 1.207 MB / 0.6999 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5818, allocations: 309.1 kB / 0.7002 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002766/0.5846, allocations: 1.644 MB / 0.7018 GB, free: 1.246 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006317/0.5909, allocations: 5.518 MB / 0.7072 GB, free: 9.789 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.6009, allocations: 7.765 MB / 0.7147 GB, free: 104 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001123/0.6011, allocations: 43.75 kB / 0.7148 GB, free: 64 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01354/0.6146, allocations: 6.904 MB / 0.7215 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-05/0.6147, allocations: 62.34 kB / 0.7216 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/0.6149, allocations: 140 kB / 0.7217 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001867/0.615, allocations: 180 kB / 0.7219 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004321/0.6194, allocations: 1.428 MB / 0.7233 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002446/0.6196, allocations: 270.9 kB / 0.7235 GB, free: 7.086 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/0.6235, allocations: 299.7 kB / 0.7238 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007345/0.6242, allocations: 376 kB / 0.7242 GB, free: 6.426 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 (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.003395/0.6276, allocations: 2.045 MB / 0.7262 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/0.6283, allocations: 361.6 kB / 0.7265 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008334/0.6291, allocations: 414.7 kB / 0.7269 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/0.6291, allocations: 19.98 kB / 0.7269 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.294e-05/0.6292, allocations: 0 / 0.7269 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.6292, allocations: 8.453 kB / 0.727 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2694/0.8986, allocations: 5.806 MB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.624e-05/0.8986, allocations: 16.25 kB / 0.7326 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.8996, allocations: 289.1 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.683e-05/0.8996, allocations: 28.91 kB / 0.7329 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-05/0.8997, allocations: 53.56 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.538e-05/0.8997, allocations: 31.47 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.568e-05/0.8997, allocations: 26.78 kB / 0.733 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003527/0.9032, allocations: 3.331 MB / 0.7363 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008795/0.9041, allocations: 358.9 kB / 0.7366 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003955/0.9045, allocations: 51.55 kB / 0.7367 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.9057, allocations: 62.47 kB / 0.7368 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/0.9059, allocations: 148.8 kB / 0.7369 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.043e-05/0.9059, allocations: 70.44 kB / 0.737 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003603/0.9095, allocations: 2.511 MB / 0.7394 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9095, allocations: 3.938 kB / 0.7394 GB, free: 147.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004456/0.914, allocations: 0.8795 MB / 0.7403 GB, free: 147.7 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.003762/0.9178, allocations: 3.987 MB / 0.7442 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00561/0.9234, allocations: 3.678 MB / 0.7478 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/0.9234, allocations: 3.062 kB / 0.7478 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009397/0.9243, allocations: 0.7098 MB / 0.7485 GB, free: 144 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002696/0.927, allocations: 475.6 kB / 0.7489 GB, free: 143.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04471/0.9717, allocations: 41.77 MB / 0.7897 GB, free: 97.74 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/0.9754, allocations: 3.166 MB / 0.7928 GB, free: 94.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003327/0.9788, allocations: 1.808 MB / 0.7946 GB, free: 92.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001743/0.9805, allocations: 1.87 MB / 0.7964 GB, free: 90.86 MB / 0.5606 GB Notification: Performance of SimCode: time 1.122e-06/0.9805, allocations: 0 / 0.7964 GB, free: 90.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1031/1.084, allocations: 64.01 MB / 0.8589 GB, free: 27.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.56/23.64, allocations: 7.938 kB / 0.8589 GB, free: 27.2 MB / 0.5606 GB " [Timeout remaining time 636] (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/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: 27.20607005804777]