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.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.001703/0.001703, allocations: 114.6 kB / 17.12 MB, free: 5.891 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.002021/0.002021, allocations: 211.2 kB / 20.09 MB, free: 2.941 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.414/1.414, allocations: 207.6 MB / 230.5 MB, free: 4.039 MB / 174.1 MB " [Timeout remaining time 178] 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.3172/0.3172, allocations: 44.23 MB / 326.6 MB, free: 6.785 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.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_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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 72.31 kB / 462.2 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2618, allocations: 61 MB / 0.5109 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.006051/0.2679, allocations: 6.849 MB / 0.5176 GB, free: 8.102 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.2716, allocations: 2.402 MB / 0.52 GB, free: 5.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006612/0.2722, allocations: 35.88 kB / 0.52 GB, free: 5.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2738, allocations: 1.059 MB / 0.521 GB, free: 4.727 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.2753, allocations: 0.8596 MB / 0.5219 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.2759, allocations: 303.3 kB / 0.5222 GB, free: 3.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001443/0.2773, allocations: 1.902 MB / 0.524 GB, free: 1.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008772/0.2782, allocations: 1.088 MB / 0.5251 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007116/0.2789, allocations: 0.7277 MB / 0.5258 GB, free: 15.82 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.2803, allocations: 1.066 MB / 0.5268 GB, free: 14.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.2805, allocations: 128 kB / 0.527 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2817, allocations: 0.7449 MB / 0.5277 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008847/0.2826, allocations: 0.9579 MB / 0.5286 GB, free: 12.91 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.2836, allocations: 1.145 MB / 0.5297 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004111/0.2878, allocations: 3.764 MB / 0.5334 GB, free: 7.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2878, allocations: 0 / 0.5334 GB, free: 7.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2878, allocations: 0 / 0.5334 GB, free: 7.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.409e-05/0.2878, allocations: 0 / 0.5334 GB, free: 7.984 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.004702/0.2925, allocations: 2.726 MB / 0.5361 GB, free: 5.195 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.2926, allocations: 11.89 kB / 0.5361 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005751/0.2932, allocations: 466.4 kB / 0.5365 GB, free: 4.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005584/0.2987, allocations: 1.575 MB / 0.5381 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.3008, allocations: 1.089 MB / 0.5391 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-05/0.3009, allocations: 119.3 kB / 0.5392 GB, free: 1.891 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.3012, allocations: 155.8 kB / 0.5394 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009268/0.3105, allocations: 6.194 MB / 0.5454 GB, free: 11.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.3106, allocations: 19.81 kB / 0.5455 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002452/0.3108, allocations: 83.89 kB / 0.5455 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00265/0.3135, allocations: 1.445 MB / 0.547 GB, free: 9.504 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009712/0.3232, allocations: 5.393 MB / 0.5522 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02884/0.352, allocations: 24.81 MB / 0.5764 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004793/0.3568, allocations: 2.265 MB / 0.5787 GB, free: 8.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.3581, allocations: 0.8855 MB / 0.5795 GB, free: 7.191 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003723/0.3584, allocations: 315.8 kB / 0.5798 GB, free: 6.828 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3585, allocations: 46.55 kB / 0.5799 GB, free: 6.773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 3.036e-06/0.3585, allocations: 7.938 kB / 0.5799 GB, free: 6.766 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02363/0.3821, allocations: 8.56 MB / 0.5882 GB, free: 14.07 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.3822, allocations: 144.5 kB / 0.5884 GB, free: 13.9 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003788/0.386, allocations: 2.649 MB / 0.591 GB, free: 11.23 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001266/0.3861, allocations: 37.7 kB / 0.591 GB, free: 11.19 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001673/0.3878, allocations: 2.116 MB / 0.5931 GB, free: 9.051 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004625/0.3883, allocations: 460.6 kB / 0.5935 GB, free: 8.598 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/0.3894, allocations: 0.8696 MB / 0.5944 GB, free: 7.715 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.3895, allocations: 301.1 kB / 0.5946 GB, free: 7.418 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002009/0.3915, allocations: 1.332 MB / 0.5959 GB, free: 6.078 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.396, allocations: 4.112 MB / 0.6 GB, free: 0.5625 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/0.4032, allocations: 5.942 MB / 0.6058 GB, free: 9.234 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.098e-05/0.4032, allocations: 28 kB / 0.6058 GB, free: 9.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009073/0.4123, allocations: 5.493 MB / 0.6111 GB, free: 3.707 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.4124, allocations: 48 kB / 0.6112 GB, free: 3.66 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/0.4125, allocations: 100 kB / 0.6113 GB, free: 3.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.4136, allocations: 460.9 kB / 0.6117 GB, free: 3.109 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002744/0.4164, allocations: 0.9747 MB / 0.6127 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.4211, allocations: 3.669 MB / 0.6163 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002534/0.4236, allocations: 235.7 kB / 0.6165 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/0.424, allocations: 276 kB / 0.6167 GB, free: 13.83 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.002017/0.426, allocations: 1.364 MB / 0.6181 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.4264, allocations: 226.5 kB / 0.6183 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.429, allocations: 1.322 MB / 0.6196 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/0.429, allocations: 16.28 kB / 0.6196 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/0.429, allocations: 0 / 0.6196 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.429, allocations: 7.984 kB / 0.6196 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/0.4364, allocations: 4.191 MB / 0.6237 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.4364, allocations: 0 / 0.6237 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006558/0.4371, allocations: 139.8 kB / 0.6238 GB, free: 6.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009378/0.438, allocations: 316.5 kB / 0.6241 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.4381, allocations: 20 kB / 0.6242 GB, free: 6.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0038/0.4419, allocations: 3.07 MB / 0.6272 GB, free: 2.938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4419, allocations: 4.031 kB / 0.6272 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004549/0.4464, allocations: 3.081 MB / 0.6302 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008693/0.4473, allocations: 423.4 kB / 0.6306 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.4475, allocations: 19.98 kB / 0.6306 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007291/0.4483, allocations: 43.94 kB / 0.6306 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.4484, allocations: 52.44 kB / 0.6307 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.202e-05/0.4485, allocations: 28 kB / 0.6307 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002493/0.451, allocations: 1.64 MB / 0.6323 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.451, allocations: 0 / 0.6323 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002957/0.4539, allocations: 0.5976 MB / 0.6329 GB, free: 13 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.004957/0.4589, allocations: 3.695 MB / 0.6365 GB, free: 9.273 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005792/0.4647, allocations: 3.117 MB / 0.6395 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4647, allocations: 0 / 0.6395 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.466, allocations: 0.8023 MB / 0.6403 GB, free: 5.352 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.4674, allocations: 219.9 kB / 0.6405 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2454/0.7129, allocations: 28.38 MB / 0.6683 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001558/0.7144, allocations: 2.174 MB / 0.6704 GB, free: 106.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.002322/0.7167, allocations: 1.389 MB / 0.6717 GB, free: 105.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009765/0.7177, allocations: 1.019 MB / 0.6727 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.7177, allocations: 4 kB / 0.6727 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06817/0.7859, allocations: 38.69 MB / 0.7105 GB, free: 66.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.3/19.09, allocations: 0 / 0.7105 GB, free: 66.26 MB / 0.4981 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_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_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.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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.03895539199584]