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.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.0008178/0.0008178, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.000778/0.000778, allocations: 170.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8344/0.8344, allocations: 158.6 MB / 185 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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.1332/0.1332, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 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.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_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: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 406.9 MB, free: 2.238 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/1.999e-05, allocations: 2.281 kB / 406.9 MB, free: 2.234 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.008049/0.008069, allocations: 10.01 MB / 416.9 MB, free: 8.18 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.006896/0.01496, allocations: 3.871 MB / 420.7 MB, free: 4.297 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002249/0.01721, allocations: 79.62 kB / 420.8 MB, free: 4.219 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00394/0.02115, allocations: 2.565 MB / 423.4 MB, free: 1.645 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.0257, allocations: 1.991 MB / 425.4 MB, free: 15.64 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001633/0.02733, allocations: 0.8576 MB / 426.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004973/0.0323, allocations: 5.091 MB / 431.3 MB, free: 9.676 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003633/0.03593, allocations: 3.293 MB / 434.6 MB, free: 6.332 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003844/0.03978, allocations: 2.463 MB / 437.1 MB, free: 3.863 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003956/0.04373, allocations: 2.514 MB / 439.6 MB, free: 1.344 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001179/0.04491, allocations: 340 kB / 439.9 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.04714, allocations: 0.9362 MB / 440.9 MB, free: 76 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.04873, allocations: 2.1 MB / 443 MB, free: 13.97 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.05025, allocations: 1.344 MB / 444.3 MB, free: 12.62 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006977/0.05723, allocations: 6.969 MB / 451.3 MB, free: 5.629 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.05724, allocations: 4 kB / 451.3 MB, free: 5.625 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.756e-06/0.05724, allocations: 0 / 451.3 MB, free: 5.625 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002303/0.05747, allocations: 0 / 451.3 MB, free: 5.625 MB / 426.7 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.008412/0.06588, allocations: 4.993 MB / 456.3 MB, free: 0.5703 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.06593, allocations: 8.031 kB / 456.3 MB, free: 0.5625 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007998/0.06673, allocations: 0.7319 MB / 457 MB, free: 15.82 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004292/0.07102, allocations: 2.155 MB / 459.2 MB, free: 13.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004223/0.07525, allocations: 2.726 MB / 461.9 MB, free: 10.89 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.07558, allocations: 242.7 kB / 462.1 MB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007374/0.07632, allocations: 328.2 kB / 462.4 MB, free: 10.33 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2004/0.2767, allocations: 10.33 MB / 472.8 MB, free: 92.11 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001296/0.2769, allocations: 47.44 kB / 472.8 MB, free: 92.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003098/0.2772, allocations: 160.5 kB / 473 MB, free: 92.08 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001593/0.2788, allocations: 1.901 MB / 474.9 MB, free: 92.05 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.2897, allocations: 8.142 MB / 483 MB, free: 89.61 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0326/0.3223, allocations: 38.16 MB / 0.509 GB, free: 62.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005762/0.3281, allocations: 2.832 MB / 0.5117 GB, free: 61.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/0.3295, allocations: 0.9608 MB / 0.5127 GB, free: 60.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00718/0.3366, allocations: 4.509 MB / 0.5171 GB, free: 58.93 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.3367, allocations: 54.47 kB / 0.5171 GB, free: 58.88 MB / 442.7 MB Notification: Performance of pre-optimization done (n=148): time 3.637e-06/0.3367, allocations: 0 / 0.5171 GB, free: 58.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=160): time 0.01587/0.3526, allocations: 10.17 MB / 0.5271 GB, free: 54.64 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.3526, allocations: 201.9 kB / 0.5273 GB, free: 54.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.3565, allocations: 4.709 MB / 0.5319 GB, free: 50.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/0.3567, allocations: 49.7 kB / 0.5319 GB, free: 50.36 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/0.3577, allocations: 3.287 MB / 0.5351 GB, free: 47.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.3581, allocations: 0.648 MB / 0.5357 GB, free: 46.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/0.3589, allocations: 1.199 MB / 0.5369 GB, free: 45.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 2.944e-05/0.3589, allocations: 309.1 kB / 0.5372 GB, free: 45.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.3604, allocations: 1.651 MB / 0.5388 GB, free: 43.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.3626, allocations: 5.572 MB / 0.5443 GB, free: 36.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004927/0.3675, allocations: 7.782 MB / 0.5519 GB, free: 26.41 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/0.3676, allocations: 40 kB / 0.5519 GB, free: 26.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=791) (initialization): time 0.009263/0.3769, allocations: 6.925 MB / 0.5587 GB, free: 19.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.846e-05/0.3769, allocations: 64.19 kB / 0.5587 GB, free: 19.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000113/0.377, allocations: 144 kB / 0.5589 GB, free: 19.24 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001302/0.3772, allocations: 180 kB / 0.559 GB, free: 19.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002597/0.3798, allocations: 1.431 MB / 0.5604 GB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001221/0.3799, allocations: 268.5 kB / 0.5607 GB, free: 17.37 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/0.3836, allocations: 419.4 kB / 0.5611 GB, free: 16.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004655/0.3841, allocations: 379.9 kB / 0.5614 GB, free: 16.59 MB / 442.7 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.002569/0.3866, allocations: 2.039 MB / 0.5634 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006357/0.3873, allocations: 373.5 kB / 0.5638 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.3886, allocations: 1.345 MB / 0.5651 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.3886, allocations: 20 kB / 0.5651 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.3887, allocations: 0 / 0.5651 GB, free: 12.8 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.3887, allocations: 11.97 kB / 0.5651 GB, free: 12.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005929/0.3946, allocations: 5.643 MB / 0.5707 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.3946, allocations: 20.94 kB / 0.5707 GB, free: 6.859 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.3951, allocations: 279.5 kB / 0.5709 GB, free: 6.586 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.088e-05/0.3952, allocations: 28 kB / 0.571 GB, free: 6.559 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.445e-05/0.3952, allocations: 61.11 kB / 0.571 GB, free: 6.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.494e-05/0.3952, allocations: 35.86 kB / 0.5711 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/0.3953, allocations: 23.94 kB / 0.5711 GB, free: 6.445 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/0.3975, allocations: 3.265 MB / 0.5743 GB, free: 2.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00093/0.3984, allocations: 0.5168 MB / 0.5748 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002209/0.3986, allocations: 51.98 kB / 0.5748 GB, free: 2.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007578/0.3994, allocations: 123.8 kB / 0.5749 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/0.3995, allocations: 155.3 kB / 0.5751 GB, free: 2.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.258e-05/0.3995, allocations: 64 kB / 0.5751 GB, free: 2.027 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002765/0.4023, allocations: 2.839 MB / 0.5779 GB, free: 15.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4023, allocations: 0 / 0.5779 GB, free: 15.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00377/0.406, allocations: 1.014 MB / 0.5789 GB, free: 14.17 MB / 458.7 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.003418/0.4095, allocations: 3.945 MB / 0.5828 GB, free: 9.969 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004805/0.4143, allocations: 3.686 MB / 0.5864 GB, free: 6.324 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/0.4143, allocations: 4 kB / 0.5864 GB, free: 6.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007055/0.415, allocations: 0.6998 MB / 0.587 GB, free: 5.625 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.4172, allocations: 472.7 kB / 0.5875 GB, free: 5.168 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04623/0.4634, allocations: 42.89 MB / 0.6294 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002403/0.4658, allocations: 2.643 MB / 0.632 GB, free: 1.133 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002843/0.4686, allocations: 1.838 MB / 0.6338 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/0.4702, allocations: 1.887 MB / 0.6356 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/0.4702, allocations: 0 / 0.6356 GB, free: 13.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2489/0.7191, allocations: 61.32 MB / 0.6955 GB, free: 168.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.327/10.05, allocations: 20.89 kB / 0.6955 GB, free: 168.8 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 12.343886242248118]