Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001663/0.001663, allocations: 113.1 kB / 17.08 MB, free: 5.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 192.7 kB / 20.02 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.1 MB / 227.9 MB, free: 4.348 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3358/0.3358, allocations: 43.52 MB / 320.8 MB, free: 9 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002298/0.002298, allocations: 71.91 kB / 450 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2849, allocations: 57.78 MB / 0.4959 GB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.009309/0.2943, allocations: 11.45 MB / 0.5071 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007373/0.3017, allocations: 4.043 MB / 0.511 GB, free: 7.273 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3037, allocations: 64 kB / 0.5111 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004225/0.3079, allocations: 2.494 MB / 0.5135 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004785/0.3127, allocations: 1.879 MB / 0.5154 GB, free: 4.242 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.3144, allocations: 0.7834 MB / 0.5161 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005681/0.3201, allocations: 4.452 MB / 0.5205 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/0.3249, allocations: 3.354 MB / 0.5238 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003427/0.3284, allocations: 1.573 MB / 0.5253 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004098/0.3325, allocations: 2.235 MB / 0.5275 GB, free: 9.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00127/0.3338, allocations: 336 kB / 0.5278 GB, free: 9.441 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002825/0.3366, allocations: 0.9714 MB / 0.5287 GB, free: 8.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002868/0.3395, allocations: 1.944 MB / 0.5306 GB, free: 6.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004288/0.3438, allocations: 2.264 MB / 0.5329 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009915/0.3538, allocations: 6.931 MB / 0.5396 GB, free: 13.29 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.3538, allocations: 3.938 kB / 0.5396 GB, free: 13.28 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3538, allocations: 0 / 0.5396 GB, free: 13.28 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002473/0.3541, allocations: 0 / 0.5396 GB, free: 13.28 MB / 414.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.01042/0.3645, allocations: 5.006 MB / 0.5445 GB, free: 8.195 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/0.3646, allocations: 19.88 kB / 0.5445 GB, free: 8.176 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001159/0.3658, allocations: 0.728 MB / 0.5452 GB, free: 7.438 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007986/0.3737, allocations: 1.995 MB / 0.5472 GB, free: 5.438 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006649/0.3804, allocations: 3.298 MB / 0.5504 GB, free: 2.078 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002517/0.3807, allocations: 254.2 kB / 0.5507 GB, free: 1.828 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008595/0.3816, allocations: 331.8 kB / 0.551 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01899/0.4006, allocations: 10.2 MB / 0.5609 GB, free: 6.512 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.4008, allocations: 51.56 kB / 0.561 GB, free: 6.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/0.4013, allocations: 163.9 kB / 0.5611 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003247/0.4046, allocations: 1.9 MB / 0.563 GB, free: 4.398 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01842/0.423, allocations: 8.15 MB / 0.571 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/0.4733, allocations: 39.35 MB / 0.6094 GB, free: 3.699 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008277/0.4816, allocations: 3.27 MB / 0.6126 GB, free: 272 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001692/0.4834, allocations: 1.057 MB / 0.6136 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008898/0.4923, allocations: 5.923 MB / 0.6194 GB, free: 8.898 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.4924, allocations: 55.44 kB / 0.6194 GB, free: 8.836 MB / 494.1 MB Notification: Performance of pre-optimization done (n=148): time 4.057e-06/0.4924, allocations: 0 / 0.6194 GB, free: 8.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.02515/0.5175, allocations: 9.796 MB / 0.629 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.5177, allocations: 192.9 kB / 0.6292 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006291/0.524, allocations: 4.105 MB / 0.6332 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/0.5243, allocations: 53.64 kB / 0.6333 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00291/0.5272, allocations: 3.33 MB / 0.6365 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007847/0.528, allocations: 0.6552 MB / 0.6372 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001587/0.5296, allocations: 1.223 MB / 0.6383 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5297, allocations: 301.1 kB / 0.6386 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002728/0.5325, allocations: 1.632 MB / 0.6402 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2454/0.7779, allocations: 5.503 MB / 0.6456 GB, free: 122.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008493/0.7864, allocations: 7.756 MB / 0.6532 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002148/0.7867, allocations: 39.78 kB / 0.6532 GB, free: 115.6 MB / 0.4981 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01172/0.7984, allocations: 6.887 MB / 0.6599 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.7985, allocations: 68.38 kB / 0.66 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001597/0.7987, allocations: 136.2 kB / 0.6601 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/0.7989, allocations: 181.6 kB / 0.6603 GB, free: 113.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003876/0.8028, allocations: 1.417 MB / 0.6617 GB, free: 113 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002029/0.803, allocations: 272.1 kB / 0.6619 GB, free: 112.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003454/0.8065, allocations: 301 kB / 0.6622 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004961/0.807, allocations: 378.7 kB / 0.6626 GB, free: 112.8 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 (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.002566/0.8095, allocations: 2.032 MB / 0.6646 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/0.8101, allocations: 369.3 kB / 0.6649 GB, free: 111.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001991/0.812, allocations: 1.348 MB / 0.6662 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.496e-05/0.8121, allocations: 16.38 kB / 0.6663 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.8121, allocations: 8.609 kB / 0.6663 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.8121, allocations: 4.828 kB / 0.6663 GB, free: 111.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007942/0.8201, allocations: 5.836 MB / 0.672 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-05/0.8201, allocations: 19.72 kB / 0.672 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008707/0.821, allocations: 282.1 kB / 0.6723 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.821, allocations: 27.31 kB / 0.6723 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.285e-05/0.8211, allocations: 51.31 kB / 0.6723 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.856e-05/0.8211, allocations: 35.48 kB / 0.6724 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/0.8212, allocations: 27.31 kB / 0.6724 GB, free: 108.7 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002757/0.8239, allocations: 3.304 MB / 0.6756 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008415/0.8248, allocations: 0.5456 MB / 0.6762 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003343/0.8251, allocations: 43.94 kB / 0.6762 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001049/0.8262, allocations: 61.23 kB / 0.6763 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.8263, allocations: 147.1 kB / 0.6764 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.106e-05/0.8264, allocations: 73.84 kB / 0.6765 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003052/0.8295, allocations: 2.542 MB / 0.679 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8295, allocations: 0 / 0.679 GB, free: 105.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004455/0.8339, allocations: 0.8978 MB / 0.6798 GB, free: 105.2 MB / 0.4981 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.003116/0.8371, allocations: 3.959 MB / 0.6837 GB, free: 101.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005042/0.8421, allocations: 3.804 MB / 0.6874 GB, free: 97.81 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/0.8422, allocations: 4 kB / 0.6874 GB, free: 97.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007772/0.843, allocations: 0.7458 MB / 0.6881 GB, free: 97.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.8455, allocations: 477.8 kB / 0.6886 GB, free: 96.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04601/0.8916, allocations: 41.88 MB / 0.7295 GB, free: 48.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002508/0.8941, allocations: 3.185 MB / 0.7326 GB, free: 45.06 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003191/0.8973, allocations: 1.816 MB / 0.7344 GB, free: 43.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001607/0.8989, allocations: 1.874 MB / 0.7362 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of SimCode: time 7.11e-07/0.8989, allocations: 0 / 0.7362 GB, free: 41.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1014/1, allocations: 59.1 MB / 0.7939 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.73/20.73, allocations: 2.297 kB / 0.7939 GB, free: 14.24 MB / 0.5294 GB " [Timeout remaining time 639] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 24.267954136012122]