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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 105.3 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 191.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.418/1.418, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2131/0.2131, allocations: 43.52 MB / 313.9 MB, free: 0.5312 MB / 254.1 MB 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.001506/0.001506, allocations: 66.05 kB / 382.8 MB, free: 56.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1058, allocations: 57.8 MB / 440.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01037/0.1162, allocations: 11.43 MB / 452.1 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007903/0.1241, allocations: 4.05 MB / 456.1 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001467/0.1256, allocations: 67.81 kB / 456.2 MB, free: 7.188 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004354/0.13, allocations: 2.499 MB / 458.7 MB, free: 4.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004451/0.1345, allocations: 1.871 MB / 460.5 MB, free: 2.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001613/0.1362, allocations: 0.7839 MB / 461.3 MB, free: 2.016 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005768/0.1419, allocations: 4.46 MB / 465.8 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004144/0.1461, allocations: 3.335 MB / 469.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.1488, allocations: 1.569 MB / 470.7 MB, free: 8.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00336/0.1522, allocations: 2.235 MB / 472.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009426/0.1532, allocations: 336 kB / 473.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002208/0.1554, allocations: 0.9714 MB / 474.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001942/0.1574, allocations: 1.944 MB / 476.2 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002667/0.16, allocations: 2.276 MB / 478.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007294/0.1673, allocations: 6.662 MB / 485.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.1674, allocations: 0 / 485.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1674, allocations: 0 / 485.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001769/0.1676, allocations: 0 / 485.1 MB, free: 10.12 MB / 366.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.009469/0.177, allocations: 4.877 MB / 490 MB, free: 5.172 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.318e-05/0.1771, allocations: 11.89 kB / 490 MB, free: 5.16 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009745/0.1781, allocations: 0.7358 MB / 490.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007247/0.1854, allocations: 1.96 MB / 492.7 MB, free: 2.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005774/0.1912, allocations: 3.243 MB / 495.9 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/0.1914, allocations: 266.2 kB / 496.2 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005409/0.1919, allocations: 323.8 kB / 496.5 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01762/0.2095, allocations: 10.19 MB / 0.4948 GB, free: 3.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/0.2097, allocations: 47.58 kB / 0.4949 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004514/0.2102, allocations: 163.8 kB / 0.495 GB, free: 3.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/0.2129, allocations: 1.908 MB / 0.4969 GB, free: 1.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01548/0.2284, allocations: 8.146 MB / 0.5048 GB, free: 9.301 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2359/0.4643, allocations: 39.44 MB / 0.5434 GB, free: 58.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007758/0.4721, allocations: 3.266 MB / 0.5466 GB, free: 57.75 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.4736, allocations: 1.059 MB / 0.5476 GB, free: 57.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007691/0.4813, allocations: 5.908 MB / 0.5534 GB, free: 54.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.4814, allocations: 48.59 kB / 0.5534 GB, free: 54.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.278e-06/0.4814, allocations: 2.781 kB / 0.5534 GB, free: 54.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.02124/0.5026, allocations: 9.568 MB / 0.5627 GB, free: 50.64 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.5027, allocations: 146.2 kB / 0.5629 GB, free: 50.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004504/0.5072, allocations: 4.096 MB / 0.5669 GB, free: 48.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001084/0.5074, allocations: 47.98 kB / 0.5669 GB, free: 48.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001362/0.5087, allocations: 3.188 MB / 0.57 GB, free: 46.03 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004043/0.5091, allocations: 0.6331 MB / 0.5707 GB, free: 45.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.5102, allocations: 1.207 MB / 0.5718 GB, free: 44.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.433e-05/0.5102, allocations: 304.6 kB / 0.5721 GB, free: 44.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00192/0.5121, allocations: 1.64 MB / 0.5737 GB, free: 43.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003/0.5151, allocations: 5.494 MB / 0.5791 GB, free: 37.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005621/0.5208, allocations: 7.765 MB / 0.5867 GB, free: 27.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-05/0.5208, allocations: 39.94 kB / 0.5867 GB, free: 27.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.008623/0.5295, allocations: 6.872 MB / 0.5934 GB, free: 20.8 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.546e-05/0.5296, allocations: 64 kB / 0.5935 GB, free: 20.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.445e-05/0.5297, allocations: 144.1 kB / 0.5936 GB, free: 20.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000123/0.5298, allocations: 180 kB / 0.5938 GB, free: 20.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003349/0.5331, allocations: 1.419 MB / 0.5952 GB, free: 19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001275/0.5333, allocations: 267 kB / 0.5954 GB, free: 18.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003251/0.5365, allocations: 291.7 kB / 0.5957 GB, free: 18.45 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003347/0.5369, allocations: 376 kB / 0.5961 GB, free: 18.08 MB / 414.1 MB 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.00237/0.5393, allocations: 2.042 MB / 0.5981 GB, free: 16.03 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.5397, allocations: 351.4 kB / 0.5984 GB, free: 15.68 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00174/0.5415, allocations: 1.353 MB / 0.5997 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.5415, allocations: 16 kB / 0.5997 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.5415, allocations: 0 / 0.5997 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.5415, allocations: 7.984 kB / 0.5998 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/0.5492, allocations: 5.827 MB / 0.6054 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/0.5492, allocations: 20.03 kB / 0.6055 GB, free: 8.176 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008856/0.5501, allocations: 283.5 kB / 0.6057 GB, free: 7.898 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.946e-05/0.5501, allocations: 27.94 kB / 0.6058 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-05/0.5502, allocations: 44 kB / 0.6058 GB, free: 7.828 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.756e-05/0.5502, allocations: 35.86 kB / 0.6058 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/0.5503, allocations: 27.88 kB / 0.6059 GB, free: 7.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002827/0.5531, allocations: 3.283 MB / 0.6091 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.5539, allocations: 0.5198 MB / 0.6096 GB, free: 3.691 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003132/0.5542, allocations: 53.23 kB / 0.6096 GB, free: 3.641 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5553, allocations: 63.95 kB / 0.6097 GB, free: 3.578 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5554, allocations: 147.4 kB / 0.6098 GB, free: 3.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.431e-05/0.5555, allocations: 67.98 kB / 0.6099 GB, free: 3.367 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002773/0.5583, allocations: 2.544 MB / 0.6124 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5583, allocations: 0 / 0.6124 GB, free: 0.8125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004017/0.5623, allocations: 0.8978 MB / 0.6133 GB, free: 15.92 MB / 430.1 MB 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.003993/0.5663, allocations: 3.952 MB / 0.6171 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006241/0.5726, allocations: 3.959 MB / 0.621 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.5726, allocations: 1.688 kB / 0.621 GB, free: 7.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.5736, allocations: 0.7528 MB / 0.6217 GB, free: 7.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.5764, allocations: 477.7 kB / 0.6222 GB, free: 6.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06024/0.6367, allocations: 47.56 MB / 0.6686 GB, free: 14.63 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003451/0.6402, allocations: 3.185 MB / 0.6717 GB, free: 11.43 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004301/0.6445, allocations: 1.816 MB / 0.6735 GB, free: 9.602 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002278/0.6468, allocations: 1.87 MB / 0.6753 GB, free: 7.73 MB / 494.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6468, allocations: 0 / 0.6753 GB, free: 7.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3138/0.9606, allocations: 62.97 MB / 0.7368 GB, free: 194.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/10.46, allocations: 4.969 kB / 0.7368 GB, free: 194.5 MB / 0.5294 GB (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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches