Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00169/0.00169, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002039/0.002039, allocations: 202.2 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.51/1.51, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2474/0.2474, allocations: 46.95 MB / 361.7 MB, free: 4.266 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002053/0.002053, allocations: 63.89 kB / 0.4969 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3625/0.3645, allocations: 66.05 MB / 0.5614 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01405/0.3786, allocations: 11.43 MB / 0.5726 GB, free: 8.977 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009423/0.388, allocations: 4.106 MB / 0.5766 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.3901, allocations: 79.56 kB / 0.5767 GB, free: 4.781 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005493/0.3956, allocations: 2.538 MB / 0.5792 GB, free: 2.234 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.401, allocations: 1.883 MB / 0.581 GB, free: 352 kB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002034/0.403, allocations: 0.776 MB / 0.5818 GB, free: 15.57 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0073/0.4103, allocations: 4.515 MB / 0.5862 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004242/0.4145, allocations: 2.787 MB / 0.5889 GB, free: 8.203 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003347/0.4179, allocations: 1.581 MB / 0.5904 GB, free: 6.617 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004353/0.4222, allocations: 2.395 MB / 0.5928 GB, free: 4.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001553/0.4238, allocations: 332 kB / 0.5931 GB, free: 3.891 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.4268, allocations: 0.9948 MB / 0.5941 GB, free: 2.895 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002977/0.4297, allocations: 1.963 MB / 0.596 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004427/0.4342, allocations: 2.245 MB / 0.5982 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009895/0.4441, allocations: 6.855 MB / 0.6049 GB, free: 7.785 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4441, allocations: 0 / 0.6049 GB, free: 7.785 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4441, allocations: 0 / 0.6049 GB, free: 7.785 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002621/0.4443, allocations: 0 / 0.6049 GB, free: 7.785 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.01249/0.4568, allocations: 4.861 MB / 0.6096 GB, free: 2.863 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.4569, allocations: 12.02 kB / 0.6096 GB, free: 2.852 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001542/0.457, allocations: 106.6 kB / 0.6097 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/0.4591, allocations: 0.7319 MB / 0.6104 GB, free: 2.004 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008551/0.4677, allocations: 1.991 MB / 0.6124 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00731/0.475, allocations: 2.718 MB / 0.615 GB, free: 13.23 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.4753, allocations: 258.2 kB / 0.6153 GB, free: 12.98 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001433/0.4767, allocations: 331.8 kB / 0.6156 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.4978, allocations: 10.23 MB / 0.6256 GB, free: 1.625 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.4979, allocations: 51.58 kB / 0.6256 GB, free: 1.574 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/0.4984, allocations: 159.9 kB / 0.6258 GB, free: 1.418 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003138/0.5015, allocations: 1.9 MB / 0.6277 GB, free: 15.52 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.5195, allocations: 8.177 MB / 0.6356 GB, free: 7.32 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05255/0.572, allocations: 39.18 MB / 0.6739 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008685/0.5807, allocations: 2.721 MB / 0.6766 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.5825, allocations: 0.9646 MB / 0.6775 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.5925, allocations: 4.57 MB / 0.682 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.55e-05/0.5926, allocations: 55.5 kB / 0.682 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.621e-06/0.5926, allocations: 0 / 0.682 GB, free: 6.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02473/0.6173, allocations: 9.609 MB / 0.6914 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.6175, allocations: 200.9 kB / 0.6916 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006623/0.6241, allocations: 4.064 MB / 0.6956 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.6244, allocations: 45.7 kB / 0.6956 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003266/0.6277, allocations: 3.31 MB / 0.6988 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008648/0.6285, allocations: 0.663 MB / 0.6995 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002035/0.6306, allocations: 1.215 MB / 0.7007 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.6307, allocations: 305.1 kB / 0.701 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003223/0.634, allocations: 1.644 MB / 0.7026 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007113/0.6411, allocations: 5.522 MB / 0.708 GB, free: 9.832 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01048/0.6516, allocations: 7.777 MB / 0.7156 GB, free: 136 kB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/0.6517, allocations: 40 kB / 0.7156 GB, free: 96 kB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01417/0.6659, allocations: 6.889 MB / 0.7223 GB, free: 9.203 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.666, allocations: 66.64 kB / 0.7224 GB, free: 9.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002589/0.6663, allocations: 140 kB / 0.7225 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002491/0.6665, allocations: 180 kB / 0.7227 GB, free: 8.824 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/0.6715, allocations: 1.427 MB / 0.7241 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003333/0.6719, allocations: 274.9 kB / 0.7243 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004781/0.6766, allocations: 295.9 kB / 0.7246 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/0.6778, allocations: 376.5 kB / 0.725 GB, free: 6.469 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.004904/0.6827, allocations: 2.048 MB / 0.727 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007344/0.6834, allocations: 369.5 kB / 0.7273 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.6846, allocations: 418.7 kB / 0.7277 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.97e-05/0.6846, allocations: 16 kB / 0.7277 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.6846, allocations: 7.875 kB / 0.7278 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.707e-05/0.6846, allocations: 11.97 kB / 0.7278 GB, free: 3.594 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.282/0.9667, allocations: 5.802 MB / 0.7334 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-05/0.9667, allocations: 20.53 kB / 0.7335 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.9677, allocations: 279.5 kB / 0.7337 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-05/0.9678, allocations: 23.03 kB / 0.7337 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/0.9679, allocations: 52.06 kB / 0.7338 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.128e-05/0.9679, allocations: 37.78 kB / 0.7338 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.735e-05/0.9679, allocations: 28.03 kB / 0.7339 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.9721, allocations: 3.322 MB / 0.7371 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00122/0.9733, allocations: 357.5 kB / 0.7374 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004562/0.9737, allocations: 47.22 kB / 0.7375 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/0.975, allocations: 67.53 kB / 0.7376 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.9752, allocations: 148.3 kB / 0.7377 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.119e-05/0.9753, allocations: 75.12 kB / 0.7378 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003971/0.9792, allocations: 2.516 MB / 0.7402 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9792, allocations: 0 / 0.7402 GB, free: 148.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004935/0.9842, allocations: 0.8804 MB / 0.7411 GB, free: 148.8 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.004474/0.9886, allocations: 3.987 MB / 0.745 GB, free: 146.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006167/0.9948, allocations: 3.672 MB / 0.7486 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-05/0.9948, allocations: 0 / 0.7486 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.9959, allocations: 0.716 MB / 0.7493 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00341/0.9993, allocations: 461.5 kB / 0.7497 GB, free: 144.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05516/1.054, allocations: 41.78 MB / 0.7905 GB, free: 97.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004308/1.059, allocations: 3.166 MB / 0.7936 GB, free: 94.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003934/1.063, allocations: 1.816 MB / 0.7954 GB, free: 92.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/1.065, allocations: 1.87 MB / 0.7972 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of SimCode: time 1.783e-06/1.065, allocations: 0 / 0.7972 GB, free: 91.09 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09433/1.16, allocations: 64.04 MB / 0.8597 GB, free: 27.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.11/23.27, allocations: 10.17 kB / 0.8597 GB, free: 27.5 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.74173561501084]