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.001088/0.001088, allocations: 108 kB / 16.41 MB, free: 6.48 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.001001/0.001001, allocations: 185.5 kB / 17.34 MB, free: 5.742 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.361/1.361, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.1959/0.1959, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 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.001483/0.001484, allocations: 69.47 kB / 441.3 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1019, allocations: 57.79 MB / 499.1 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.0117/0.1137, allocations: 11.46 MB / 0.4986 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007724/0.1214, allocations: 4.039 MB / 0.5025 GB, free: 12.72 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/0.1229, allocations: 71.75 kB / 0.5026 GB, free: 12.65 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004457/0.1274, allocations: 2.492 MB / 0.505 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00426/0.1317, allocations: 1.875 MB / 0.5069 GB, free: 8.266 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1333, allocations: 0.7838 MB / 0.5076 GB, free: 7.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005317/0.1386, allocations: 4.46 MB / 0.512 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003931/0.1425, allocations: 3.342 MB / 0.5153 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002273/0.1448, allocations: 1.577 MB / 0.5168 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003449/0.1483, allocations: 2.235 MB / 0.519 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001395/0.1497, allocations: 336 kB / 0.5193 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.1523, allocations: 0.9754 MB / 0.5202 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00228/0.1546, allocations: 1.956 MB / 0.5222 GB, free: 8.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003229/0.1578, allocations: 2.264 MB / 0.5244 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2175/0.3753, allocations: 6.901 MB / 0.5311 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.3753, allocations: 0 / 0.5311 GB, free: 15.54 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.3753, allocations: 2.734 kB / 0.5311 GB, free: 15.54 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002767/0.3756, allocations: 0 / 0.5311 GB, free: 15.54 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.01061/0.3862, allocations: 4.875 MB / 0.5359 GB, free: 13.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.3863, allocations: 13.42 kB / 0.5359 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001314/0.3876, allocations: 0.7323 MB / 0.5366 GB, free: 13.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007934/0.3956, allocations: 1.968 MB / 0.5385 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007042/0.4026, allocations: 3.28 MB / 0.5417 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.4029, allocations: 254 kB / 0.542 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009813/0.4039, allocations: 335.6 kB / 0.5423 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01854/0.4224, allocations: 10.2 MB / 0.5523 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.4226, allocations: 53.55 kB / 0.5523 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004594/0.4231, allocations: 158.4 kB / 0.5525 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002721/0.4258, allocations: 1.907 MB / 0.5543 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01468/0.4405, allocations: 8.142 MB / 0.5623 GB, free: 7.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.4808, allocations: 39.28 MB / 0.6006 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007689/0.4885, allocations: 3.278 MB / 0.6038 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.49, allocations: 1.054 MB / 0.6049 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008623/0.4987, allocations: 5.907 MB / 0.6106 GB, free: 8.074 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.4987, allocations: 54.94 kB / 0.6107 GB, free: 8.016 MB / 462.1 MB Notification: Performance of pre-optimization done (n=148): time 4.318e-06/0.4987, allocations: 4 kB / 0.6107 GB, free: 8.012 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.02215/0.5209, allocations: 9.551 MB / 0.62 GB, free: 14.38 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.089e-05/0.521, allocations: 192.9 kB / 0.6202 GB, free: 14.15 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/0.5266, allocations: 4.096 MB / 0.6242 GB, free: 10.03 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.5267, allocations: 49.7 kB / 0.6242 GB, free: 9.977 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001969/0.5287, allocations: 3.191 MB / 0.6274 GB, free: 6.805 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.5293, allocations: 0.6362 MB / 0.628 GB, free: 6.172 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/0.5308, allocations: 1.206 MB / 0.6292 GB, free: 4.957 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.138e-05/0.5309, allocations: 309.1 kB / 0.6294 GB, free: 4.652 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002493/0.5334, allocations: 1.636 MB / 0.631 GB, free: 3.012 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00468/0.5381, allocations: 5.509 MB / 0.6364 GB, free: 11.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007625/0.5457, allocations: 7.757 MB / 0.644 GB, free: 2.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.66e-05/0.5458, allocations: 40.75 kB / 0.644 GB, free: 2.461 MB / 494.1 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01074/0.5566, allocations: 6.866 MB / 0.6507 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.5567, allocations: 64 kB / 0.6508 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001994/0.5569, allocations: 136 kB / 0.6509 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000201/0.5571, allocations: 180.2 kB / 0.6511 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004082/0.5612, allocations: 1.421 MB / 0.6525 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002304/0.5615, allocations: 267 kB / 0.6528 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003594/0.5651, allocations: 300.7 kB / 0.653 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004951/0.5656, allocations: 379.9 kB / 0.6534 GB, free: 9 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.002748/0.5683, allocations: 2.033 MB / 0.6554 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005957/0.5689, allocations: 347.5 kB / 0.6557 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.5713, allocations: 1.355 MB / 0.657 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.696e-05/0.5713, allocations: 19.12 kB / 0.6571 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/0.5713, allocations: 4 kB / 0.6571 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.5713, allocations: 3.984 kB / 0.6571 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/0.5813, allocations: 5.831 MB / 0.6628 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.354e-05/0.5814, allocations: 21.78 kB / 0.6628 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009905/0.5824, allocations: 279.5 kB / 0.663 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.73e-05/0.5824, allocations: 29.64 kB / 0.6631 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5825, allocations: 50.81 kB / 0.6631 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.834e-05/0.5826, allocations: 35.86 kB / 0.6632 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.7e-05/0.5826, allocations: 29.06 kB / 0.6632 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003728/0.5863, allocations: 3.281 MB / 0.6664 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.5877, allocations: 0.5197 MB / 0.6669 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005913/0.5883, allocations: 51.98 kB / 0.6669 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/0.5897, allocations: 59.95 kB / 0.667 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.5899, allocations: 151.5 kB / 0.6671 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.59, allocations: 66.42 kB / 0.6672 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004043/0.594, allocations: 2.544 MB / 0.6697 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.3e-07/0.594, allocations: 4 kB / 0.6697 GB, free: 7.727 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00459/0.5986, allocations: 0.8984 MB / 0.6706 GB, free: 6.828 MB / 0.5137 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.004443/0.6031, allocations: 3.943 MB / 0.6744 GB, free: 2.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005816/0.6089, allocations: 3.809 MB / 0.6781 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/0.609, allocations: 0 / 0.6781 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/0.61, allocations: 0.753 MB / 0.6789 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003082/0.6131, allocations: 481.1 kB / 0.6793 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05526/0.6684, allocations: 41.71 MB / 0.7201 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/0.6724, allocations: 3.188 MB / 0.7232 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003976/0.6764, allocations: 1.812 MB / 0.725 GB, free: 8.48 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002295/0.6787, allocations: 1.87 MB / 0.7268 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.6788, allocations: 0 / 0.7268 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3361/1.015, allocations: 59.87 MB / 0.7852 GB, free: 199.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.8/18.82, allocations: 7.219 kB / 0.7853 GB, free: 199.4 MB / 0.5919 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