Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.001686/0.001686, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002273/0.002273, allocations: 206.3 kB / 23.73 MB, free: 4.379 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.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2159/0.2159, allocations: 46.95 MB / 360.9 MB, free: 4.016 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 64.08 kB / 0.4961 GB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3099, allocations: 66.03 MB / 0.5606 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008106/0.318, allocations: 6.035 MB / 0.5665 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004477/0.3225, allocations: 2.308 MB / 0.5687 GB, free: 11.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.3231, allocations: 35.88 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002182/0.3253, allocations: 1.035 MB / 0.5698 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002245/0.3275, allocations: 0.8675 MB / 0.5706 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008519/0.3284, allocations: 311.2 kB / 0.5709 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002321/0.3307, allocations: 1.868 MB / 0.5727 GB, free: 7.715 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.332, allocations: 1.095 MB / 0.5738 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3331, allocations: 0.7199 MB / 0.5745 GB, free: 5.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00139/0.3345, allocations: 1.059 MB / 0.5755 GB, free: 4.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002547/0.3348, allocations: 128 kB / 0.5757 GB, free: 4.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00113/0.3359, allocations: 0.6512 MB / 0.5763 GB, free: 4.035 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008669/0.3367, allocations: 0.9424 MB / 0.5772 GB, free: 3.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007868/0.3375, allocations: 0.7951 MB / 0.578 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003782/0.3413, allocations: 3.738 MB / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.3413, allocations: 0 / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3413, allocations: 0 / 0.5816 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.3414, allocations: 0 / 0.5816 GB, free: 14.53 MB / 430.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.004034/0.3454, allocations: 2.655 MB / 0.5842 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.3454, allocations: 12.03 kB / 0.5843 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004991/0.3459, allocations: 458.4 kB / 0.5847 GB, free: 11.36 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004983/0.3509, allocations: 1.582 MB / 0.5862 GB, free: 9.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/0.353, allocations: 1.019 MB / 0.5872 GB, free: 8.727 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.63e-05/0.3531, allocations: 119.3 kB / 0.5873 GB, free: 8.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003097/0.3535, allocations: 163.7 kB / 0.5875 GB, free: 8.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009142/0.3626, allocations: 6.182 MB / 0.5935 GB, free: 1.781 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.527e-05/0.3627, allocations: 27.75 kB / 0.5936 GB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000224/0.3629, allocations: 83.89 kB / 0.5936 GB, free: 1.672 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00247/0.3654, allocations: 1.437 MB / 0.595 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009711/0.3751, allocations: 5.377 MB / 0.6003 GB, free: 10.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02777/0.4028, allocations: 23.88 MB / 0.6236 GB, free: 2.164 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00415/0.407, allocations: 1.804 MB / 0.6254 GB, free: 332 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00115/0.4081, allocations: 0.884 MB / 0.6262 GB, free: 15.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002513/0.4084, allocations: 95.73 kB / 0.6263 GB, free: 15.33 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.4084, allocations: 42.5 kB / 0.6264 GB, free: 15.28 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.356e-06/0.4084, allocations: 0 / 0.6264 GB, free: 15.28 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.0212/0.4296, allocations: 8.385 MB / 0.6346 GB, free: 6.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.4297, allocations: 140.5 kB / 0.6347 GB, free: 6.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003621/0.4333, allocations: 2.814 MB / 0.6374 GB, free: 3.82 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.4335, allocations: 33.7 kB / 0.6375 GB, free: 3.781 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001518/0.435, allocations: 2.108 MB / 0.6395 GB, free: 1.652 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004823/0.4355, allocations: 452.7 kB / 0.64 GB, free: 1.207 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.4365, allocations: 0.8734 MB / 0.6408 GB, free: 328 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4366, allocations: 301.1 kB / 0.6411 GB, free: 24 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001934/0.4386, allocations: 1.336 MB / 0.6424 GB, free: 14.68 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004427/0.443, allocations: 4.116 MB / 0.6464 GB, free: 9.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007639/0.4506, allocations: 5.925 MB / 0.6522 GB, free: 1.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.4507, allocations: 32 kB / 0.6522 GB, free: 1.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01022/0.461, allocations: 5.497 MB / 0.6576 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.35e-05/0.461, allocations: 44 kB / 0.6577 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001187/0.4612, allocations: 100 kB / 0.6578 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/0.4622, allocations: 456.5 kB / 0.6582 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002839/0.4651, allocations: 0.9786 MB / 0.6591 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004464/0.4696, allocations: 3.534 MB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.4722, allocations: 235.7 kB / 0.6628 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000514/0.4727, allocations: 272 kB / 0.6631 GB, free: 6.598 MB / 0.4981 GB 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.002139/0.4748, allocations: 1.372 MB / 0.6644 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004099/0.4752, allocations: 230.4 kB / 0.6646 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002425/0.4776, allocations: 1.318 MB / 0.6659 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.497e-05/0.4777, allocations: 16 kB / 0.6659 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.4777, allocations: 0 / 0.6659 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.4777, allocations: 7.984 kB / 0.6659 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007676/0.4854, allocations: 4.008 MB / 0.6699 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.4854, allocations: 0 / 0.6699 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006659/0.486, allocations: 139.8 kB / 0.67 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008626/0.4869, allocations: 316.6 kB / 0.6703 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.487, allocations: 19.98 kB / 0.6703 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003589/0.4906, allocations: 2.951 MB / 0.6732 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4906, allocations: 0 / 0.6732 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/0.4953, allocations: 3.078 MB / 0.6762 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.496, allocations: 210.4 kB / 0.6764 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002342/0.4962, allocations: 24 kB / 0.6764 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007238/0.497, allocations: 51.88 kB / 0.6765 GB, free: 8.66 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/0.4971, allocations: 52.33 kB / 0.6765 GB, free: 8.609 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.4972, allocations: 31.98 kB / 0.6766 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002584/0.4998, allocations: 1.625 MB / 0.6781 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4998, allocations: 0 / 0.6781 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003393/0.5032, allocations: 0.5897 MB / 0.6787 GB, free: 6.352 MB / 0.5137 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.005133/0.5083, allocations: 3.695 MB / 0.6823 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00522/0.5135, allocations: 3.092 MB / 0.6853 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5135, allocations: 0 / 0.6853 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5148, allocations: 0.8172 MB / 0.6861 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.5162, allocations: 207.3 kB / 0.6863 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04213/0.5584, allocations: 28.41 MB / 0.7141 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/0.5604, allocations: 1.594 MB / 0.7156 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002912/0.5633, allocations: 1.383 MB / 0.717 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/0.5647, allocations: 1.026 MB / 0.718 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.022e-06/0.5647, allocations: 0 / 0.718 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3137/0.8784, allocations: 40.14 MB / 0.7572 GB, free: 140.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.6, allocations: 16 kB / 0.7572 GB, free: 140.1 MB / 0.5606 GB " [Timeout remaining time 645] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 17.545041092002066]