Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 119.9 kB / 17.13 MB, free: 5.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 191.7 kB / 20.07 MB, free: 2.992 MB / 14.72 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 1.391/1.391, allocations: 207.6 MB / 230.5 MB, free: 4.062 MB / 174.1 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.3024/0.3024, allocations: 44.23 MB / 326.5 MB, free: 6.797 MB / 254.1 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.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.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "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.002139/0.002139, allocations: 75.89 kB / 462.2 MB, free: 0.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2498, allocations: 61 MB / 0.5109 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006088/0.2559, allocations: 6.837 MB / 0.5176 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003806/0.2597, allocations: 2.413 MB / 0.5199 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.2605, allocations: 27.94 kB / 0.52 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001617/0.2622, allocations: 1.059 MB / 0.521 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001559/0.2637, allocations: 0.8558 MB / 0.5218 GB, free: 3.789 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006598/0.2644, allocations: 311.2 kB / 0.5221 GB, free: 3.484 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001429/0.2658, allocations: 1.894 MB / 0.524 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008319/0.2666, allocations: 1.084 MB / 0.525 GB, free: 492 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000712/0.2674, allocations: 0.7199 MB / 0.5257 GB, free: 15.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/0.2687, allocations: 1.07 MB / 0.5268 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.269, allocations: 128 kB / 0.5269 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001229/0.2702, allocations: 0.7409 MB / 0.5276 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009315/0.2711, allocations: 0.9541 MB / 0.5286 GB, free: 12.86 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001166/0.2723, allocations: 1.149 MB / 0.5297 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004255/0.2765, allocations: 3.752 MB / 0.5333 GB, free: 7.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.2766, allocations: 4 kB / 0.5333 GB, free: 7.934 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.2766, allocations: 0 / 0.5333 GB, free: 7.934 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.613e-05/0.2766, allocations: 0 / 0.5333 GB, free: 7.934 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.00461/0.2812, allocations: 2.734 MB / 0.536 GB, free: 5.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.2813, allocations: 11.89 kB / 0.536 GB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005072/0.2818, allocations: 466.4 kB / 0.5365 GB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.2869, allocations: 1.575 MB / 0.538 GB, free: 3.082 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.2893, allocations: 1.089 MB / 0.5391 GB, free: 1.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.2895, allocations: 119.3 kB / 0.5392 GB, free: 1.832 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000335/0.2898, allocations: 159.8 kB / 0.5393 GB, free: 1.676 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009223/0.299, allocations: 6.19 MB / 0.5454 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.257e-05/0.2991, allocations: 27.69 kB / 0.5454 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002166/0.2993, allocations: 79.89 kB / 0.5455 GB, free: 10.89 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00244/0.3017, allocations: 1.437 MB / 0.5469 GB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00958/0.3113, allocations: 5.401 MB / 0.5522 GB, free: 4.055 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02986/0.3412, allocations: 24.81 MB / 0.5764 GB, free: 10.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004612/0.3458, allocations: 2.261 MB / 0.5786 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.347, allocations: 0.8895 MB / 0.5795 GB, free: 7.133 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003941/0.3474, allocations: 319.8 kB / 0.5798 GB, free: 6.766 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.3474, allocations: 38.56 kB / 0.5798 GB, free: 6.719 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.306e-06/0.3474, allocations: 4 kB / 0.5798 GB, free: 6.715 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02204/0.3695, allocations: 8.568 MB / 0.5882 GB, free: 14.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.3696, allocations: 144.5 kB / 0.5883 GB, free: 13.84 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003668/0.3732, allocations: 2.652 MB / 0.5909 GB, free: 11.17 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000104/0.3734, allocations: 37.7 kB / 0.5909 GB, free: 11.12 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001629/0.375, allocations: 2.112 MB / 0.593 GB, free: 8.992 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004462/0.3754, allocations: 452.6 kB / 0.5934 GB, free: 8.547 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.3765, allocations: 0.8735 MB / 0.5943 GB, free: 7.66 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3766, allocations: 301.1 kB / 0.5946 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/0.3787, allocations: 1.332 MB / 0.5959 GB, free: 6.023 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004458/0.3831, allocations: 4.108 MB / 0.5999 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007355/0.3905, allocations: 5.938 MB / 0.6057 GB, free: 9.188 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-05/0.3905, allocations: 28 kB / 0.6057 GB, free: 9.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009698/0.4002, allocations: 5.5 MB / 0.6111 GB, free: 3.656 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.027e-05/0.4003, allocations: 48 kB / 0.6111 GB, free: 3.609 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001148/0.4004, allocations: 96 kB / 0.6112 GB, free: 3.516 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.4015, allocations: 469.1 kB / 0.6117 GB, free: 3.055 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/0.4043, allocations: 0.9824 MB / 0.6126 GB, free: 2.07 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/0.409, allocations: 3.657 MB / 0.6162 GB, free: 14.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002653/0.4117, allocations: 235.7 kB / 0.6164 GB, free: 14.04 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004255/0.4121, allocations: 272 kB / 0.6167 GB, free: 13.78 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[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 (527): * Single equations (assignments): 523 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002021/0.4141, allocations: 1.364 MB / 0.618 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004151/0.4145, allocations: 234.4 kB / 0.6182 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002468/0.417, allocations: 1.322 MB / 0.6195 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.388e-05/0.417, allocations: 16 kB / 0.6195 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.417, allocations: 0 / 0.6195 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.417, allocations: 7.984 kB / 0.6196 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008006/0.425, allocations: 4.191 MB / 0.6236 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.425, allocations: 0 / 0.6236 GB, free: 6.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006309/0.4257, allocations: 131.9 kB / 0.6238 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008868/0.4266, allocations: 316.5 kB / 0.6241 GB, free: 6.117 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-05/0.4266, allocations: 20 kB / 0.6241 GB, free: 6.098 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003781/0.4304, allocations: 3.07 MB / 0.6271 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.4304, allocations: 4.031 kB / 0.6271 GB, free: 2.883 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004541/0.435, allocations: 3.081 MB / 0.6301 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.4361, allocations: 431.5 kB / 0.6305 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002568/0.4363, allocations: 16 kB / 0.6305 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000714/0.437, allocations: 47.88 kB / 0.6306 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4372, allocations: 52.44 kB / 0.6306 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-05/0.4373, allocations: 31.98 kB / 0.6307 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002529/0.4398, allocations: 1.625 MB / 0.6322 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8e-08/0.4398, allocations: 0 / 0.6322 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00303/0.4428, allocations: 0.6131 MB / 0.6328 GB, free: 12.94 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * 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 (77): * Single equations (assignments): 73 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005107/0.4479, allocations: 3.699 MB / 0.6365 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005333/0.4532, allocations: 3.106 MB / 0.6395 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.957e-06/0.4533, allocations: 0 / 0.6395 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4545, allocations: 0.7985 MB / 0.6403 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001402/0.4559, allocations: 223 kB / 0.6405 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2487/0.7046, allocations: 28.39 MB / 0.6682 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/0.7063, allocations: 2.17 MB / 0.6703 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002446/0.7087, allocations: 1.39 MB / 0.6717 GB, free: 106 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009184/0.7096, allocations: 1.019 MB / 0.6727 GB, free: 105 MB / 0.4981 GB Notification: Performance of SimCode: time 1.002e-06/0.7096, allocations: 0 / 0.6727 GB, free: 105 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06543/0.7751, allocations: 38.68 MB / 0.7104 GB, free: 66.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/19.56, allocations: 7.766 kB / 0.7105 GB, free: 66.36 MB / 0.4981 GB " [Timeout remaining time 640] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.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: 22.46637934818864]