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.00087/0.00087, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0009001/0.0009001, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9104/0.9104, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.2294/0.2294, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Forces_Spring",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.046e-05/2.238e-05, allocations: 2.281 kB / 442.2 MB, free: 1.652 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2138/0.2138, allocations: 9.944 MB / 452.1 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006158/0.22, allocations: 3.879 MB / 456 MB, free: 36.39 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.2216, allocations: 78.56 kB / 456.1 MB, free: 36.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.2249, allocations: 2.549 MB / 458.6 MB, free: 35.27 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003989/0.2289, allocations: 1.958 MB / 460.6 MB, free: 34.35 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.2302, allocations: 0.8437 MB / 461.4 MB, free: 33.99 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.004413/0.2346, allocations: 5.202 MB / 466.6 MB, free: 32.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003055/0.2377, allocations: 3.273 MB / 469.9 MB, free: 30.78 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003124/0.2408, allocations: 2.427 MB / 472.3 MB, free: 29.77 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002349/0.2432, allocations: 2.498 MB / 474.8 MB, free: 29.13 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.2437, allocations: 346.3 kB / 475.2 MB, free: 29.13 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.245, allocations: 0.9136 MB / 476.1 MB, free: 28.97 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001227/0.2463, allocations: 2.057 MB / 478.1 MB, free: 28.1 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.2475, allocations: 1.318 MB / 479.5 MB, free: 27.46 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008053/0.2556, allocations: 6.887 MB / 486.3 MB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.992e-06/0.2556, allocations: 0 / 486.3 MB, free: 25.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2556, allocations: 0 / 486.3 MB, free: 25.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003414/0.2559, allocations: 0 / 486.3 MB, free: 25.04 MB / 410.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.01526/0.2712, allocations: 4.935 MB / 491.3 MB, free: 22.3 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.2712, allocations: 10.09 kB / 491.3 MB, free: 22.3 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002318/0.2735, allocations: 0.7277 MB / 492 MB, free: 21.94 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006114/0.2797, allocations: 2.153 MB / 494.2 MB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005472/0.2851, allocations: 2.396 MB / 496.6 MB, free: 20.38 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.2853, allocations: 248.6 kB / 496.8 MB, free: 20.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/0.2866, allocations: 331 kB / 497.1 MB, free: 20.15 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/0.3038, allocations: 10.36 MB / 0.4956 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.304, allocations: 42.92 kB / 0.4956 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006603/0.3046, allocations: 160.5 kB / 0.4958 GB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002122/0.3068, allocations: 1.915 MB / 0.4977 GB, free: 12.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01238/0.3191, allocations: 8.17 MB / 0.5056 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03641/0.3555, allocations: 38.05 MB / 0.5428 GB, free: 13.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005028/0.3606, allocations: 2.86 MB / 0.5456 GB, free: 10.25 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.3618, allocations: 0.9564 MB / 0.5465 GB, free: 9.281 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006556/0.3683, allocations: 4.475 MB / 0.5509 GB, free: 4.785 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.3684, allocations: 47.56 kB / 0.5509 GB, free: 4.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=148): time 4.158e-06/0.3684, allocations: 0 / 0.5509 GB, free: 4.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=160): time 0.01595/0.3843, allocations: 10.03 MB / 0.5607 GB, free: 10.66 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/0.3844, allocations: 200.9 kB / 0.5609 GB, free: 10.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005665/0.3901, allocations: 4.608 MB / 0.5654 GB, free: 5.777 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002446/0.3903, allocations: 49.7 kB / 0.5655 GB, free: 5.723 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001693/0.392, allocations: 3.283 MB / 0.5687 GB, free: 2.406 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.3925, allocations: 0.6513 MB / 0.5693 GB, free: 1.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.3936, allocations: 1.195 MB / 0.5705 GB, free: 0.543 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003756/0.394, allocations: 305.1 kB / 0.5708 GB, free: 248 kB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.396, allocations: 1.667 MB / 0.5724 GB, free: 14.57 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003669/0.3996, allocations: 5.58 MB / 0.5779 GB, free: 7.039 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00622/0.4059, allocations: 7.793 MB / 0.5855 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-05/0.4059, allocations: 36 kB / 0.5855 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.008819/0.4148, allocations: 6.949 MB / 0.5923 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.087e-05/0.4148, allocations: 64 kB / 0.5924 GB, free: 6.277 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.903e-05/0.4149, allocations: 140 kB / 0.5925 GB, free: 6.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001151/0.415, allocations: 188 kB / 0.5927 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002441/0.4175, allocations: 1.435 MB / 0.5941 GB, free: 4.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001419/0.4176, allocations: 270.9 kB / 0.5943 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/0.4206, allocations: 411.5 kB / 0.5947 GB, free: 3.855 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000376/0.421, allocations: 376 kB / 0.5951 GB, free: 3.488 MB / 0.4948 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.002937/0.4239, allocations: 2.033 MB / 0.5971 GB, free: 1.441 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005265/0.4245, allocations: 365.5 kB / 0.5974 GB, free: 1.082 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004711/0.4249, allocations: 418.7 kB / 0.5978 GB, free: 0.6641 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.749e-05/0.4249, allocations: 16 kB / 0.5978 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.4249, allocations: 0 / 0.5978 GB, free: 0.6484 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.425, allocations: 11.97 kB / 0.5978 GB, free: 0.6367 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007186/0.4321, allocations: 5.63 MB / 0.6033 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.652e-05/0.4322, allocations: 24.06 kB / 0.6034 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005901/0.4328, allocations: 287.5 kB / 0.6036 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/0.4328, allocations: 24 kB / 0.6037 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/0.4328, allocations: 51.98 kB / 0.6037 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.73e-05/0.4328, allocations: 39.8 kB / 0.6037 GB, free: 10.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.218e-05/0.4329, allocations: 27.88 kB / 0.6038 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002909/0.4358, allocations: 3.29 MB / 0.607 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007955/0.4366, allocations: 409.4 kB / 0.6074 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/0.4368, allocations: 51.97 kB / 0.6074 GB, free: 6.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00081/0.4376, allocations: 115.9 kB / 0.6075 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.4378, allocations: 151.3 kB / 0.6077 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.4378, allocations: 68 kB / 0.6077 GB, free: 5.953 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003559/0.4414, allocations: 2.765 MB / 0.6104 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4414, allocations: 0 / 0.6104 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004013/0.4454, allocations: 0.9843 MB / 0.6114 GB, free: 2.191 MB / 0.5105 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.003215/0.4486, allocations: 3.973 MB / 0.6153 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005329/0.4539, allocations: 3.691 MB / 0.6189 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/0.454, allocations: 4.562 kB / 0.6189 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007446/0.4547, allocations: 0.707 MB / 0.6196 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/0.4569, allocations: 477.5 kB / 0.62 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2382/0.6951, allocations: 42.51 MB / 0.6616 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002516/0.6976, allocations: 2.631 MB / 0.6641 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003398/0.701, allocations: 1.831 MB / 0.6659 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.703, allocations: 1.88 MB / 0.6677 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.633e-06/0.703, allocations: 0 / 0.6677 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08401/0.787, allocations: 60.49 MB / 0.7268 GB, free: 87.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.72/10.51, allocations: 3.75 kB / 0.7268 GB, free: 87.41 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins/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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.848364514298737]