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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 110.9 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.402/1.402, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2163/0.2163, allocations: 43.53 MB / 314.1 MB, free: 460 kB / 254.1 MB 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.002019/0.002019, allocations: 71.89 kB / 441.3 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1119, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00817/0.1201, allocations: 6.803 MB / 0.494 GB, free: 5.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004526/0.1247, allocations: 2.381 MB / 0.4964 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007228/0.1255, allocations: 35.88 kB / 0.4964 GB, free: 3.062 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.1277, allocations: 1.043 MB / 0.4974 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002089/0.1298, allocations: 0.8362 MB / 0.4982 GB, free: 1.176 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007656/0.1306, allocations: 299.3 kB / 0.4985 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002711/0.1333, allocations: 1.9 MB / 0.5004 GB, free: 14.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.1351, allocations: 1.271 MB / 0.5016 GB, free: 13.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.1363, allocations: 0.7199 MB / 0.5023 GB, free: 12.96 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.1379, allocations: 0.973 MB / 0.5033 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003452/0.1383, allocations: 128 kB / 0.5034 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001425/0.1397, allocations: 0.7096 MB / 0.5041 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.1408, allocations: 0.9271 MB / 0.505 GB, free: 10.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.142, allocations: 1.145 MB / 0.5061 GB, free: 9.066 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004302/0.1463, allocations: 3.749 MB / 0.5098 GB, free: 5.301 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.1464, allocations: 3.938 kB / 0.5098 GB, free: 5.297 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1464, allocations: 0 / 0.5098 GB, free: 5.297 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.713e-05/0.1464, allocations: 4 kB / 0.5098 GB, free: 5.293 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.005336/0.1518, allocations: 2.726 MB / 0.5124 GB, free: 2.504 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.1519, allocations: 15.89 kB / 0.5125 GB, free: 2.488 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006231/0.1525, allocations: 454.4 kB / 0.5129 GB, free: 2.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005314/0.1578, allocations: 1.586 MB / 0.5144 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002036/0.1599, allocations: 1.093 MB / 0.5155 GB, free: 15.3 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.16, allocations: 115.3 kB / 0.5156 GB, free: 15.19 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003605/0.1604, allocations: 155.8 kB / 0.5158 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00894/0.1693, allocations: 6.186 MB / 0.5218 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.081e-05/0.1694, allocations: 27.75 kB / 0.5218 GB, free: 8.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.1696, allocations: 83.72 kB / 0.5219 GB, free: 8.258 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/0.1721, allocations: 1.441 MB / 0.5233 GB, free: 6.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009263/0.1814, allocations: 5.393 MB / 0.5286 GB, free: 1.422 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.222/0.4033, allocations: 24.8 MB / 0.5528 GB, free: 19.14 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004439/0.4078, allocations: 2.346 MB / 0.5551 GB, free: 17.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.409, allocations: 0.9888 MB / 0.5561 GB, free: 17.54 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00028/0.4093, allocations: 334.1 kB / 0.5564 GB, free: 17.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.4094, allocations: 42.64 kB / 0.5564 GB, free: 17.2 MB / 414.1 MB Notification: Performance of pre-optimization done (n=96): time 2.856e-06/0.4094, allocations: 2.062 kB / 0.5564 GB, free: 17.2 MB / 414.1 MB Notification: Performance of matching and sorting (n=106): time 0.02139/0.4308, allocations: 8.572 MB / 0.5648 GB, free: 13.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.4308, allocations: 147.9 kB / 0.5649 GB, free: 13.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003157/0.434, allocations: 2.649 MB / 0.5675 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001237/0.4342, allocations: 37.7 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000883/0.435, allocations: 2.112 MB / 0.5696 GB, free: 10.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003109/0.4354, allocations: 458.9 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008815/0.4363, allocations: 0.8709 MB / 0.5709 GB, free: 10.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.171e-05/0.4363, allocations: 305.1 kB / 0.5712 GB, free: 9.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.4378, allocations: 1.331 MB / 0.5725 GB, free: 9.117 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002348/0.4402, allocations: 4.106 MB / 0.5765 GB, free: 4.555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004933/0.4451, allocations: 5.944 MB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.552e-05/0.4452, allocations: 28.19 kB / 0.5823 GB, free: 14.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01103/0.4563, allocations: 5.491 MB / 0.5877 GB, free: 9.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/0.4564, allocations: 48 kB / 0.5877 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001238/0.4565, allocations: 96.09 kB / 0.5878 GB, free: 9.289 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001141/0.4577, allocations: 468.2 kB / 0.5883 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/0.4607, allocations: 0.9785 MB / 0.5892 GB, free: 7.852 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004711/0.4655, allocations: 3.663 MB / 0.5928 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003203/0.4687, allocations: 235.6 kB / 0.593 GB, free: 3.828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005601/0.4693, allocations: 272.6 kB / 0.5933 GB, free: 3.566 MB / 430.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.002227/0.4715, allocations: 1.369 MB / 0.5946 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004821/0.472, allocations: 234.5 kB / 0.5949 GB, free: 1.953 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002537/0.4745, allocations: 1.322 MB / 0.5962 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.349e-05/0.4746, allocations: 12 kB / 0.5962 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.4746, allocations: 4 kB / 0.5962 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.4746, allocations: 7.984 kB / 0.5962 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007264/0.4819, allocations: 4.197 MB / 0.6003 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-06/0.4819, allocations: 4 kB / 0.6003 GB, free: 12.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006302/0.4826, allocations: 131.9 kB / 0.6004 GB, free: 12.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008811/0.4834, allocations: 320.5 kB / 0.6007 GB, free: 11.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.291e-05/0.4835, allocations: 17.12 kB / 0.6007 GB, free: 11.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003624/0.4872, allocations: 3.067 MB / 0.6037 GB, free: 8.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.4872, allocations: 8 kB / 0.6037 GB, free: 8.684 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004413/0.4916, allocations: 3.08 MB / 0.6067 GB, free: 5.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/0.4924, allocations: 427.3 kB / 0.6071 GB, free: 5.152 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002228/0.4927, allocations: 18.34 kB / 0.6072 GB, free: 5.137 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007334/0.4934, allocations: 47.88 kB / 0.6072 GB, free: 5.09 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.4936, allocations: 57.23 kB / 0.6073 GB, free: 5.035 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.969e-05/0.4936, allocations: 24 kB / 0.6073 GB, free: 5.012 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002399/0.496, allocations: 1.637 MB / 0.6089 GB, free: 3.363 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.496, allocations: 0 / 0.6089 GB, free: 3.363 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002908/0.499, allocations: 0.6014 MB / 0.6095 GB, free: 2.766 MB / 446.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.004822/0.5038, allocations: 3.702 MB / 0.6131 GB, free: 15.04 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005018/0.5088, allocations: 3.232 MB / 0.6162 GB, free: 11.82 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.5089, allocations: 4 kB / 0.6162 GB, free: 11.81 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001215/0.5101, allocations: 0.8645 MB / 0.6171 GB, free: 10.93 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00142/0.5115, allocations: 207.1 kB / 0.6173 GB, free: 10.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04151/0.553, allocations: 28.4 MB / 0.645 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002334/0.5554, allocations: 2.175 MB / 0.6471 GB, free: 8.406 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003038/0.5585, allocations: 1.38 MB / 0.6485 GB, free: 7.02 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001469/0.56, allocations: 1.03 MB / 0.6495 GB, free: 5.988 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.56, allocations: 0 / 0.6495 GB, free: 5.988 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08279/0.6428, allocations: 38.42 MB / 0.687 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.72/18.36, allocations: 12.48 kB / 0.687 GB, free: 15.57 MB / 0.5294 GB (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.00044 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) 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) Reference file matches