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.001684/0.001684, allocations: 114.4 kB / 19.69 MB, free: 2.188 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.002254/0.002254, allocations: 215.3 kB / 23 MB, free: 5.004 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.398/1.398, allocations: 207.6 MB / 233.8 MB, free: 10 MB / 190.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.207/0.207, allocations: 44.24 MB / 330.3 MB, free: 9.527 MB / 270.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.002274/0.002274, allocations: 75.88 kB / 467.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1096, allocations: 61.04 MB / 0.5161 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008668/0.1182, allocations: 6.865 MB / 0.5228 GB, free: 468 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005011/0.1233, allocations: 2.424 MB / 0.5252 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007307/0.124, allocations: 35.88 kB / 0.5252 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.1262, allocations: 1.055 MB / 0.5263 GB, free: 12.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.1282, allocations: 0.8752 MB / 0.5271 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007513/0.129, allocations: 291.3 kB / 0.5274 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002264/0.1312, allocations: 1.908 MB / 0.5293 GB, free: 9.855 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.1324, allocations: 1.095 MB / 0.5303 GB, free: 8.738 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000864/0.1333, allocations: 0.7316 MB / 0.531 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1347, allocations: 1.067 MB / 0.5321 GB, free: 6.934 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002522/0.1349, allocations: 128 kB / 0.5322 GB, free: 6.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.1362, allocations: 0.7565 MB / 0.533 GB, free: 6.051 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009021/0.1371, allocations: 0.958 MB / 0.5339 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001093/0.1382, allocations: 1.145 MB / 0.535 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004262/0.1424, allocations: 3.753 MB / 0.5387 GB, free: 172 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.1424, allocations: 0 / 0.5387 GB, free: 172 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1424, allocations: 0 / 0.5387 GB, free: 172 kB / 414.1 MB Notification: Performance of Transformations before backend: time 5.812e-05/0.1425, allocations: 0 / 0.5387 GB, free: 172 kB / 414.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.2055/0.348, allocations: 2.664 MB / 0.5413 GB, free: 27.37 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.3481, allocations: 12.5 kB / 0.5413 GB, free: 27.37 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005942/0.3487, allocations: 458.9 kB / 0.5417 GB, free: 27.31 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005444/0.3541, allocations: 1.579 MB / 0.5433 GB, free: 27.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.3565, allocations: 1.018 MB / 0.5443 GB, free: 26.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.144e-05/0.3566, allocations: 125 kB / 0.5444 GB, free: 26.76 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002946/0.3569, allocations: 150.2 kB / 0.5445 GB, free: 26.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008913/0.3658, allocations: 6.19 MB / 0.5506 GB, free: 23.81 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.797e-05/0.3658, allocations: 27.45 kB / 0.5506 GB, free: 23.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002339/0.3661, allocations: 83.3 kB / 0.5507 GB, free: 23.74 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002587/0.3687, allocations: 1.443 MB / 0.5521 GB, free: 23.48 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.011/0.3797, allocations: 5.389 MB / 0.5573 GB, free: 21.85 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02696/0.4066, allocations: 24.72 MB / 0.5815 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004266/0.4109, allocations: 1.797 MB / 0.5832 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009989/0.4119, allocations: 0.8784 MB / 0.5841 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002489/0.4121, allocations: 99.41 kB / 0.5842 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.4122, allocations: 38.5 kB / 0.5842 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 3.657e-06/0.4122, allocations: 4 kB / 0.5842 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.0223/0.4345, allocations: 8.35 MB / 0.5924 GB, free: 9.844 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.532e-05/0.4346, allocations: 154.4 kB / 0.5925 GB, free: 9.664 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00362/0.4382, allocations: 2.645 MB / 0.5951 GB, free: 6.996 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001663/0.4383, allocations: 37.7 kB / 0.5951 GB, free: 6.953 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001664/0.44, allocations: 2.112 MB / 0.5972 GB, free: 4.82 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/0.4405, allocations: 456.6 kB / 0.5976 GB, free: 4.371 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/0.4417, allocations: 0.8734 MB / 0.5985 GB, free: 3.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.4418, allocations: 301.1 kB / 0.5988 GB, free: 3.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/0.4437, allocations: 1.332 MB / 0.6001 GB, free: 1.848 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004445/0.4482, allocations: 4.116 MB / 0.6041 GB, free: 12.33 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/0.4558, allocations: 5.935 MB / 0.6099 GB, free: 5.012 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.309e-05/0.4558, allocations: 31.94 kB / 0.6099 GB, free: 4.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01078/0.4666, allocations: 5.497 MB / 0.6153 GB, free: 15.47 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.14e-05/0.4667, allocations: 44 kB / 0.6153 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001193/0.4668, allocations: 100 kB / 0.6154 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.468, allocations: 464.8 kB / 0.6159 GB, free: 14.87 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/0.4711, allocations: 0.9746 MB / 0.6168 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004723/0.4758, allocations: 3.563 MB / 0.6203 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00292/0.4788, allocations: 227.8 kB / 0.6205 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005359/0.4793, allocations: 280 kB / 0.6208 GB, free: 9.727 MB / 462.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.002418/0.4817, allocations: 1.37 MB / 0.6221 GB, free: 8.344 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.4822, allocations: 230.5 kB / 0.6224 GB, free: 8.117 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.4847, allocations: 1.324 MB / 0.6236 GB, free: 6.785 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.107e-05/0.4848, allocations: 12 kB / 0.6237 GB, free: 6.773 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.4848, allocations: 4 kB / 0.6237 GB, free: 6.77 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.4848, allocations: 3.984 kB / 0.6237 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008181/0.493, allocations: 4.178 MB / 0.6277 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.493, allocations: 4 kB / 0.6277 GB, free: 2.531 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006599/0.4937, allocations: 135.8 kB / 0.6279 GB, free: 2.398 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008644/0.4945, allocations: 312.5 kB / 0.6282 GB, free: 2.09 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.4946, allocations: 23.98 kB / 0.6282 GB, free: 2.066 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003675/0.4983, allocations: 2.96 MB / 0.6311 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4983, allocations: 4.031 kB / 0.6311 GB, free: 14.99 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.5027, allocations: 3.08 MB / 0.6341 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.5038, allocations: 354.2 kB / 0.6344 GB, free: 11.54 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002775/0.5041, allocations: 16 kB / 0.6345 GB, free: 11.52 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007606/0.5049, allocations: 43.94 kB / 0.6345 GB, free: 11.48 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.505, allocations: 60.39 kB / 0.6346 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.5051, allocations: 28 kB / 0.6346 GB, free: 11.39 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002375/0.5075, allocations: 1.637 MB / 0.6362 GB, free: 9.746 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5075, allocations: 0 / 0.6362 GB, free: 9.746 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.002991/0.5104, allocations: 0.5975 MB / 0.6368 GB, free: 9.148 MB / 478.1 MB 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.00465/0.5151, allocations: 3.697 MB / 0.6404 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004765/0.5199, allocations: 3.103 MB / 0.6434 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5199, allocations: 0 / 0.6434 GB, free: 2.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001112/0.521, allocations: 0.8095 MB / 0.6442 GB, free: 1.504 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.5223, allocations: 213 kB / 0.6444 GB, free: 1.301 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04209/0.5643, allocations: 28.44 MB / 0.6722 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002338/0.5667, allocations: 2.171 MB / 0.6743 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002923/0.5696, allocations: 1.391 MB / 0.6756 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001455/0.5711, allocations: 1.023 MB / 0.6766 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.5711, allocations: 0 / 0.6766 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08958/0.6606, allocations: 42.22 MB / 0.7179 GB, free: 2.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.27/19.93, allocations: 12.06 kB / 0.7179 GB, free: 2.254 MB / 0.545 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 & 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.818162349001796]