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.001383/0.001383, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001479/0.001479, allocations: 214.7 kB / 24.52 MB, free: 3.914 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.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.789 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.2315/0.2315, allocations: 46.95 MB / 361.7 MB, free: 4.164 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.001935/0.001935, allocations: 71.91 kB / 0.4969 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3249, allocations: 66.03 MB / 0.5614 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01248/0.3374, allocations: 9.866 MB / 0.571 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.3464, allocations: 3.869 MB / 0.5748 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.348, allocations: 79.62 kB / 0.5749 GB, free: 6.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004797/0.3528, allocations: 2.429 MB / 0.5772 GB, free: 3.949 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005032/0.3578, allocations: 1.906 MB / 0.5791 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001756/0.3596, allocations: 0.7761 MB / 0.5798 GB, free: 1.262 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006362/0.3659, allocations: 4.515 MB / 0.5843 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003425/0.3694, allocations: 2.783 MB / 0.587 GB, free: 9.902 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002068/0.3714, allocations: 1.585 MB / 0.5885 GB, free: 8.312 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003244/0.3747, allocations: 2.395 MB / 0.5909 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007584/0.3754, allocations: 332 kB / 0.5912 GB, free: 5.586 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/0.3773, allocations: 0.8739 MB / 0.592 GB, free: 4.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002254/0.3796, allocations: 1.963 MB / 0.5939 GB, free: 2.742 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003104/0.3827, allocations: 1.681 MB / 0.5956 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008753/0.3914, allocations: 6.878 MB / 0.6023 GB, free: 10.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.3914, allocations: 0 / 0.6023 GB, free: 10.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3914, allocations: 4 kB / 0.6023 GB, free: 10.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002166/0.3916, allocations: 0 / 0.6023 GB, free: 10.14 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.01014/0.4018, allocations: 4.861 MB / 0.6071 GB, free: 5.219 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.4018, allocations: 12.03 kB / 0.6071 GB, free: 5.207 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001592/0.402, allocations: 110.6 kB / 0.6072 GB, free: 5.098 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001261/0.4032, allocations: 0.728 MB / 0.6079 GB, free: 4.359 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007669/0.4109, allocations: 1.991 MB / 0.6098 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.4166, allocations: 2.734 MB / 0.6125 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.4168, allocations: 254.3 kB / 0.6127 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006574/0.4174, allocations: 331.7 kB / 0.6131 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01734/0.4348, allocations: 10.33 MB / 0.6231 GB, free: 3.84 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001114/0.4349, allocations: 47.62 kB / 0.6232 GB, free: 3.793 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004004/0.4353, allocations: 163.8 kB / 0.6233 GB, free: 3.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/0.4382, allocations: 1.904 MB / 0.6252 GB, free: 1.727 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.455, allocations: 8.173 MB / 0.6332 GB, free: 9.535 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05064/0.5056, allocations: 37.81 MB / 0.6701 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008318/0.5139, allocations: 2.726 MB / 0.6728 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.5155, allocations: 0.9556 MB / 0.6737 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00844/0.524, allocations: 4.344 MB / 0.6779 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.629e-05/0.524, allocations: 47.56 kB / 0.678 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 4.288e-06/0.524, allocations: 0 / 0.678 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02522/0.5492, allocations: 9.616 MB / 0.6874 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5494, allocations: 192.9 kB / 0.6876 GB, free: 464 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006443/0.5558, allocations: 4.068 MB / 0.6915 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002401/0.556, allocations: 53.7 kB / 0.6916 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002808/0.5588, allocations: 3.306 MB / 0.6948 GB, free: 8.961 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007912/0.5596, allocations: 0.6591 MB / 0.6955 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001672/0.5613, allocations: 1.219 MB / 0.6967 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5614, allocations: 301.1 kB / 0.6969 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00274/0.5642, allocations: 1.644 MB / 0.6985 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006134/0.5703, allocations: 5.568 MB / 0.704 GB, free: 13.6 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009685/0.58, allocations: 7.776 MB / 0.7116 GB, free: 3.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.351e-05/0.5801, allocations: 44 kB / 0.7116 GB, free: 3.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01221/0.5923, allocations: 6.894 MB / 0.7184 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.5924, allocations: 68.91 kB / 0.7184 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/0.5926, allocations: 136 kB / 0.7185 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002109/0.5929, allocations: 184 kB / 0.7187 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004269/0.5971, allocations: 1.423 MB / 0.7201 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002373/0.5974, allocations: 274.9 kB / 0.7204 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/0.6008, allocations: 295.7 kB / 0.7207 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000502/0.6013, allocations: 372 kB / 0.721 GB, free: 10.23 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.002943/0.6043, allocations: 2.044 MB / 0.723 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005779/0.6048, allocations: 369.5 kB / 0.7234 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007306/0.6056, allocations: 414.9 kB / 0.7238 GB, free: 7.398 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/0.6056, allocations: 16 kB / 0.7238 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.787e-05/0.6056, allocations: 12.39 kB / 0.7238 GB, free: 7.371 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/0.6056, allocations: 7.969 kB / 0.7238 GB, free: 7.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009251/0.6149, allocations: 5.559 MB / 0.7292 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.218e-05/0.6149, allocations: 16 kB / 0.7292 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001027/0.6159, allocations: 280.3 kB / 0.7295 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.63e-05/0.616, allocations: 27.94 kB / 0.7295 GB, free: 1.199 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.6161, allocations: 63.98 kB / 0.7296 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.141e-05/0.6161, allocations: 35.86 kB / 0.7296 GB, free: 1.102 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.941e-05/0.6161, allocations: 27.88 kB / 0.7297 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2634/0.8795, allocations: 3.313 MB / 0.7329 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/0.8804, allocations: 358.7 kB / 0.7332 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004239/0.8808, allocations: 55.97 kB / 0.7333 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.882, allocations: 68.22 kB / 0.7333 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.8822, allocations: 149 kB / 0.7335 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.949e-05/0.8822, allocations: 70.83 kB / 0.7336 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00372/0.886, allocations: 2.516 MB / 0.736 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/0.886, allocations: 0 / 0.736 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004297/0.8903, allocations: 0.8742 MB / 0.7369 GB, free: 150.6 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.00353/0.8938, allocations: 3.994 MB / 0.7408 GB, free: 148.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005504/0.8993, allocations: 3.667 MB / 0.7443 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.96e-05/0.8993, allocations: 0 / 0.7443 GB, free: 147.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000926/0.9002, allocations: 0.7099 MB / 0.745 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.9033, allocations: 480.1 kB / 0.7455 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04517/0.9485, allocations: 41.77 MB / 0.7863 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002641/0.9511, allocations: 2.631 MB / 0.7889 GB, free: 98.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003388/0.9545, allocations: 1.808 MB / 0.7906 GB, free: 96.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/0.9563, allocations: 1.874 MB / 0.7925 GB, free: 94.36 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/0.9563, allocations: 0 / 0.7925 GB, free: 94.36 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1347/1.091, allocations: 61.2 MB / 0.8522 GB, free: 34.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.94/23.03, allocations: 17.11 kB / 0.8522 GB, free: 34.01 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.32641031499952]