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.001318/0.001318, allocations: 105.6 kB / 15.99 MB, free: 6.348 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.001354/0.001354, allocations: 193 kB / 16.9 MB, free: 6.184 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.4/1.4, allocations: 205.1 MB / 222.8 MB, free: 4.703 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3344/0.3344, allocations: 43.5 MB / 313.6 MB, free: 8.551 MB / 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.001395/0.001395, allocations: 68.47 kB / 382.3 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 57.79 MB / 440.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.2229/0.3409, allocations: 17.29 MB / 457.4 MB, free: 37.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.3493, allocations: 4.051 MB / 461.4 MB, free: 37.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003358/0.3527, allocations: 68.78 kB / 461.5 MB, free: 37.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.3551, allocations: 0.9817 MB / 462.5 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002386/0.3575, allocations: 0.7832 MB / 463.3 MB, free: 37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009037/0.3584, allocations: 276.9 kB / 463.5 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002217/0.3607, allocations: 1.938 MB / 465.5 MB, free: 36.67 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001428/0.3621, allocations: 1.352 MB / 466.8 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000886/0.363, allocations: 0.7269 MB / 467.6 MB, free: 36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001114/0.3641, allocations: 1.096 MB / 468.7 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.3644, allocations: 126.7 kB / 468.8 MB, free: 35.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001465/0.3659, allocations: 0.7282 MB / 469.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009823/0.3669, allocations: 0.9579 MB / 470.5 MB, free: 35.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3679, allocations: 1.158 MB / 471.6 MB, free: 34.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003593/0.3715, allocations: 3.603 MB / 475.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3715, allocations: 0 / 475.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.3715, allocations: 0 / 475.2 MB, free: 33.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.441e-05/0.3716, allocations: 0 / 475.2 MB, free: 33.18 MB / 382.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.004182/0.3758, allocations: 2.655 MB / 477.9 MB, free: 31.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.126e-05/0.3759, allocations: 17.73 kB / 477.9 MB, free: 31.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005086/0.3764, allocations: 460.3 kB / 478.4 MB, free: 31.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004669/0.3811, allocations: 1.568 MB / 479.9 MB, free: 31.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3827, allocations: 1.073 MB / 481 MB, free: 30.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.865e-05/0.3828, allocations: 119.8 kB / 481.1 MB, free: 30.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002692/0.3831, allocations: 158.9 kB / 481.3 MB, free: 30.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008864/0.392, allocations: 6.18 MB / 487.4 MB, free: 27.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.489e-05/0.3921, allocations: 35.03 kB / 487.5 MB, free: 27.47 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.3923, allocations: 80.64 kB / 487.6 MB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00263/0.3949, allocations: 1.438 MB / 489 MB, free: 27.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0114/0.4063, allocations: 5.39 MB / 494.4 MB, free: 25.56 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.4335, allocations: 24.87 MB / 0.5071 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/0.4376, allocations: 2.35 MB / 0.5094 GB, free: 5.434 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009941/0.4386, allocations: 0.9872 MB / 0.5103 GB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002843/0.4389, allocations: 330.4 kB / 0.5107 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.4389, allocations: 43.22 kB / 0.5107 GB, free: 4.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 4.378e-06/0.439, allocations: 3.984 kB / 0.5107 GB, free: 4.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.02087/0.4598, allocations: 8.434 MB / 0.5189 GB, free: 13.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.782e-05/0.46, allocations: 148.5 kB / 0.5191 GB, free: 13.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003465/0.4634, allocations: 2.636 MB / 0.5217 GB, free: 10.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.4636, allocations: 39.73 kB / 0.5217 GB, free: 10.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.4649, allocations: 2.023 MB / 0.5237 GB, free: 8.613 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004174/0.4653, allocations: 444.9 kB / 0.5241 GB, free: 8.184 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001002/0.4663, allocations: 0.8687 MB / 0.5249 GB, free: 7.301 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4664, allocations: 301.1 kB / 0.5252 GB, free: 7.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001761/0.4682, allocations: 1.332 MB / 0.5265 GB, free: 5.664 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003889/0.4721, allocations: 4.108 MB / 0.5305 GB, free: 156 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006313/0.4784, allocations: 5.936 MB / 0.5363 GB, free: 8.832 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.329e-05/0.4785, allocations: 28 kB / 0.5364 GB, free: 8.805 MB / 414.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008878/0.4874, allocations: 5.491 MB / 0.5417 GB, free: 3.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.364e-05/0.4875, allocations: 51.98 kB / 0.5418 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.762e-05/0.4876, allocations: 96.09 kB / 0.5419 GB, free: 3.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.4886, allocations: 464.9 kB / 0.5423 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002558/0.4912, allocations: 0.9782 MB / 0.5433 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004018/0.4952, allocations: 3.67 MB / 0.5469 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002721/0.498, allocations: 227.6 kB / 0.5471 GB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.4983, allocations: 268.1 kB / 0.5473 GB, free: 13.45 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.001849/0.5001, allocations: 1.37 MB / 0.5487 GB, free: 12.07 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000359/0.5005, allocations: 225 kB / 0.5489 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00224/0.5028, allocations: 1.318 MB / 0.5502 GB, free: 10.51 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-05/0.5028, allocations: 19.98 kB / 0.5502 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5028, allocations: 4 kB / 0.5502 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5028, allocations: 7.984 kB / 0.5502 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006812/0.5096, allocations: 4.227 MB / 0.5543 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.5097, allocations: 0 / 0.5543 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.5103, allocations: 139.8 kB / 0.5545 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008174/0.5111, allocations: 324.8 kB / 0.5548 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.341e-05/0.5112, allocations: 16.88 kB / 0.5548 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003155/0.5144, allocations: 3.038 MB / 0.5577 GB, free: 2.562 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.5144, allocations: 3.938 kB / 0.5578 GB, free: 2.559 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/0.5184, allocations: 3.066 MB / 0.5607 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009202/0.5193, allocations: 414.1 kB / 0.5611 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002229/0.5196, allocations: 16 kB / 0.5612 GB, free: 15.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007088/0.5203, allocations: 46.36 kB / 0.5612 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/0.5204, allocations: 60.36 kB / 0.5613 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.5205, allocations: 28 kB / 0.5613 GB, free: 14.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002272/0.5228, allocations: 1.633 MB / 0.5629 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5228, allocations: 0 / 0.5629 GB, free: 13.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003194/0.526, allocations: 0.6015 MB / 0.5635 GB, free: 12.66 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.004564/0.5306, allocations: 3.698 MB / 0.5671 GB, free: 8.934 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005311/0.5359, allocations: 3.458 MB / 0.5705 GB, free: 5.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.062e-06/0.5359, allocations: 4 kB / 0.5705 GB, free: 5.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.5371, allocations: 0.8741 MB / 0.5713 GB, free: 4.598 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.5386, allocations: 212.7 kB / 0.5715 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04641/0.585, allocations: 31.38 MB / 0.6022 GB, free: 228 kB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002011/0.5871, allocations: 2.17 MB / 0.6043 GB, free: 14.02 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.002984/0.5901, allocations: 1.383 MB / 0.6056 GB, free: 12.63 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.5914, allocations: 1.026 MB / 0.6066 GB, free: 11.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.302e-06/0.5914, allocations: 0 / 0.6066 GB, free: 11.6 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2778/0.8692, allocations: 40.97 MB / 0.6466 GB, free: 156.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001756/0.8694, allocations: 213.7 kB / 0.6468 GB, free: 156.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/4.008, allocations: 0 / 0.6468 GB, free: 156.7 MB / 0.4981 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 & /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 --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) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches