Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_0_0_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.001131/0.001131, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001156/0.001156, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1985/0.1985, allocations: 44.18 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.00121, allocations: 65.14 kB / 408.5 MB, free: 27.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09861/0.09984, allocations: 60.82 MB / 469.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008544/0.1084, allocations: 6.795 MB / 476.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005362/0.1139, allocations: 2.387 MB / 478.5 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000814/0.1147, allocations: 31.94 kB / 478.6 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.1168, allocations: 1.035 MB / 479.6 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001832/0.1187, allocations: 0.8518 MB / 480.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007062/0.1194, allocations: 291.3 kB / 480.7 MB, free: 2.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002069/0.1215, allocations: 1.896 MB / 482.6 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001359/0.1229, allocations: 1.264 MB / 483.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001164/0.1241, allocations: 0.716 MB / 484.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001284/0.1254, allocations: 0.9653 MB / 485.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003111/0.1257, allocations: 128 kB / 485.7 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.1271, allocations: 0.7175 MB / 486.4 MB, free: 13.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008842/0.128, allocations: 0.9349 MB / 487.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00106/0.1291, allocations: 1.145 MB / 488.5 MB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003701/0.1328, allocations: 3.563 MB / 492.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.1328, allocations: 0 / 492.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.827e-06/0.1329, allocations: 0 / 492.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.693e-05/0.1329, allocations: 3.938 kB / 492.1 MB, free: 7.453 MB / 366.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.004448/0.1374, allocations: 2.664 MB / 494.7 MB, free: 4.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.1375, allocations: 16.03 kB / 494.7 MB, free: 4.719 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005131/0.138, allocations: 458.4 kB / 495.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005328/0.1433, allocations: 1.561 MB / 496.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001872/0.1452, allocations: 1.069 MB / 497.8 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.1453, allocations: 119.3 kB / 497.9 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002769/0.1456, allocations: 159.8 kB / 498.1 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008192/0.1538, allocations: 6.174 MB / 0.4924 GB, free: 10.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.819e-05/0.1539, allocations: 35.75 kB / 0.4925 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.1541, allocations: 79.89 kB / 0.4926 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002345/0.1565, allocations: 1.441 MB / 0.494 GB, free: 9.098 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009223/0.1657, allocations: 5.397 MB / 0.4992 GB, free: 3.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.228/0.3937, allocations: 24.86 MB / 0.5235 GB, free: 27.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/0.3983, allocations: 2.338 MB / 0.5258 GB, free: 26.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.3995, allocations: 0.9948 MB / 0.5268 GB, free: 26.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.3998, allocations: 317.9 kB / 0.5271 GB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.3998, allocations: 49.58 kB / 0.5271 GB, free: 26.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=96): time 3.216e-06/0.3998, allocations: 0 / 0.5271 GB, free: 26.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=106): time 0.01947/0.4193, allocations: 8.447 MB / 0.5354 GB, free: 22.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.503e-05/0.4194, allocations: 144.3 kB / 0.5355 GB, free: 22.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002559/0.4219, allocations: 2.636 MB / 0.5381 GB, free: 21.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.885e-05/0.422, allocations: 41.56 kB / 0.5381 GB, free: 21.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006823/0.4227, allocations: 2.028 MB / 0.5401 GB, free: 19.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.423, allocations: 437.2 kB / 0.5405 GB, free: 18.9 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007034/0.4237, allocations: 0.8642 MB / 0.5414 GB, free: 18.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.501e-05/0.4237, allocations: 301.1 kB / 0.5416 GB, free: 18.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.425, allocations: 1.331 MB / 0.5429 GB, free: 17.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.4274, allocations: 4.108 MB / 0.547 GB, free: 12.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004421/0.4318, allocations: 5.937 MB / 0.5528 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.946e-05/0.4319, allocations: 32 kB / 0.5528 GB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.007213/0.4391, allocations: 5.484 MB / 0.5581 GB, free: 40 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.651e-05/0.4392, allocations: 50.86 kB / 0.5582 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/0.4393, allocations: 100 kB / 0.5583 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001071/0.4404, allocations: 464.3 kB / 0.5587 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/0.4429, allocations: 0.9747 MB / 0.5597 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004056/0.447, allocations: 3.669 MB / 0.5633 GB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002522/0.4495, allocations: 231.6 kB / 0.5635 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003203/0.4499, allocations: 271.5 kB / 0.5637 GB, free: 10.18 MB / 398.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.001741/0.4516, allocations: 1.36 MB / 0.5651 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003385/0.452, allocations: 229 kB / 0.5653 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/0.4541, allocations: 1.323 MB / 0.5666 GB, free: 7.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-05/0.4542, allocations: 12 kB / 0.5666 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4542, allocations: 4 kB / 0.5666 GB, free: 7.227 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.4542, allocations: 3.984 kB / 0.5666 GB, free: 7.223 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/0.4608, allocations: 4.24 MB / 0.5707 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.4609, allocations: 4 kB / 0.5707 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006085/0.4615, allocations: 139.8 kB / 0.5709 GB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.4623, allocations: 318.2 kB / 0.5712 GB, free: 2.488 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.039e-05/0.4624, allocations: 17.81 kB / 0.5712 GB, free: 2.473 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003102/0.4655, allocations: 3.039 MB / 0.5742 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4655, allocations: 4.031 kB / 0.5742 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003991/0.4695, allocations: 3.07 MB / 0.5772 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005283/0.4701, allocations: 270.1 kB / 0.5774 GB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002143/0.4703, allocations: 21.97 kB / 0.5774 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007194/0.471, allocations: 47.94 kB / 0.5775 GB, free: 11.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001343/0.4711, allocations: 48.38 kB / 0.5775 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-05/0.4712, allocations: 35.98 kB / 0.5776 GB, free: 11.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002144/0.4734, allocations: 1.629 MB / 0.5792 GB, free: 10.13 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.934e-06/0.4734, allocations: 0 / 0.5792 GB, free: 10.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002824/0.4762, allocations: 0.6022 MB / 0.5798 GB, free: 9.535 MB / 414.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.004228/0.4805, allocations: 3.69 MB / 0.5834 GB, free: 5.816 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.4854, allocations: 3.465 MB / 0.5867 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4854, allocations: 0 / 0.5867 GB, free: 2.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.4864, allocations: 0.8628 MB / 0.5876 GB, free: 1.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.4878, allocations: 209.9 kB / 0.5878 GB, free: 1.293 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0403/0.5282, allocations: 30.31 MB / 0.6174 GB, free: 14.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002812/0.531, allocations: 2.171 MB / 0.6195 GB, free: 12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003279/0.5343, allocations: 1.387 MB / 0.6209 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.536, allocations: 1.023 MB / 0.6219 GB, free: 9.582 MB / 462.1 MB Notification: Performance of SimCode: time 1.072e-06/0.536, allocations: 4 kB / 0.6219 GB, free: 9.578 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07859/0.6146, allocations: 41.1 MB / 0.662 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.42, allocations: 19.78 kB / 0.662 GB, free: 0.6562 MB / 494.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches