Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001778/0.001778, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002223/0.002223, allocations: 214.2 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2291/0.2291, allocations: 46.93 MB / 360.8 MB, free: 4.191 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 83.86 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3634, allocations: 66.09 MB / 0.5607 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009117/0.3726, allocations: 6.826 MB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00522/0.3778, allocations: 2.463 MB / 0.5698 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001036/0.3788, allocations: 35.88 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.3811, allocations: 1.066 MB / 0.5709 GB, free: 9.879 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.3834, allocations: 0.8714 MB / 0.5717 GB, free: 9.004 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008496/0.3842, allocations: 307.2 kB / 0.572 GB, free: 8.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002606/0.3868, allocations: 1.872 MB / 0.5738 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001394/0.3882, allocations: 1.095 MB / 0.5749 GB, free: 5.707 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000985/0.3892, allocations: 0.7161 MB / 0.5756 GB, free: 4.988 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001451/0.3907, allocations: 1.07 MB / 0.5767 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.3909, allocations: 128 kB / 0.5768 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.3923, allocations: 0.7604 MB / 0.5775 GB, free: 3.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008819/0.3931, allocations: 0.954 MB / 0.5785 GB, free: 2.07 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.3942, allocations: 1.129 MB / 0.5796 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.3985, allocations: 3.73 MB / 0.5832 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3985, allocations: 0 / 0.5832 GB, free: 13.19 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3985, allocations: 0 / 0.5832 GB, free: 13.19 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.801e-05/0.3986, allocations: 0 / 0.5832 GB, free: 13.19 MB / 430.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.005302/0.4039, allocations: 2.643 MB / 0.5858 GB, free: 10.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.404, allocations: 12.03 kB / 0.5858 GB, free: 10.49 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005664/0.4045, allocations: 458.4 kB / 0.5862 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/0.4097, allocations: 1.582 MB / 0.5878 GB, free: 8.445 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/0.4119, allocations: 1.015 MB / 0.5888 GB, free: 7.398 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.412, allocations: 115.3 kB / 0.5889 GB, free: 7.285 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003234/0.4124, allocations: 167.8 kB / 0.589 GB, free: 7.121 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00927/0.4216, allocations: 6.182 MB / 0.5951 GB, free: 464 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.87e-05/0.4217, allocations: 23.81 kB / 0.5951 GB, free: 440 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.4219, allocations: 75.89 kB / 0.5952 GB, free: 364 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002495/0.4244, allocations: 1.448 MB / 0.5966 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009561/0.434, allocations: 5.385 MB / 0.6018 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02932/0.4633, allocations: 24.72 MB / 0.626 GB, free: 15.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.4677, allocations: 1.806 MB / 0.6277 GB, free: 14.15 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/0.4689, allocations: 0.8823 MB / 0.6286 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.4692, allocations: 95.78 kB / 0.6287 GB, free: 13.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.4692, allocations: 46.5 kB / 0.6287 GB, free: 13.11 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 5.07e-06/0.4692, allocations: 3.984 kB / 0.6287 GB, free: 13.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02241/0.4916, allocations: 8.335 MB / 0.6369 GB, free: 4.691 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4918, allocations: 136.5 kB / 0.637 GB, free: 4.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00356/0.4953, allocations: 2.64 MB / 0.6396 GB, free: 1.863 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 9.967e-05/0.4954, allocations: 41.7 kB / 0.6396 GB, free: 1.816 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.497, allocations: 2.108 MB / 0.6417 GB, free: 15.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004053/0.4974, allocations: 452.6 kB / 0.6421 GB, free: 15.24 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/0.4984, allocations: 0.8734 MB / 0.643 GB, free: 14.35 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.4986, allocations: 305.1 kB / 0.6433 GB, free: 14.05 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002004/0.5006, allocations: 1.336 MB / 0.6446 GB, free: 12.71 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004453/0.505, allocations: 4.108 MB / 0.6486 GB, free: 7.195 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007262/0.5123, allocations: 5.938 MB / 0.6544 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.667e-05/0.5123, allocations: 28 kB / 0.6544 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009429/0.5218, allocations: 5.496 MB / 0.6598 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.416e-05/0.5218, allocations: 46.03 kB / 0.6598 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001029/0.5219, allocations: 100 kB / 0.6599 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001167/0.5231, allocations: 461.1 kB / 0.6604 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.526, allocations: 0.9786 MB / 0.6613 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004546/0.5305, allocations: 3.566 MB / 0.6648 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.533, allocations: 232.2 kB / 0.665 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003521/0.5333, allocations: 268 kB / 0.6653 GB, free: 4.605 MB / 0.4981 GB 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.001929/0.5352, allocations: 1.365 MB / 0.6666 GB, free: 3.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003725/0.5356, allocations: 234.4 kB / 0.6668 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002496/0.5381, allocations: 1.318 MB / 0.6681 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.798e-05/0.5381, allocations: 23.91 kB / 0.6681 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/0.5381, allocations: 7.984 kB / 0.6681 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.5382, allocations: 3.984 kB / 0.6681 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/0.5457, allocations: 4.17 MB / 0.6722 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.5457, allocations: 0 / 0.6722 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006596/0.5464, allocations: 139.8 kB / 0.6723 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009304/0.5473, allocations: 324.6 kB / 0.6727 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/0.5474, allocations: 16 kB / 0.6727 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00388/0.5512, allocations: 2.962 MB / 0.6756 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.5512, allocations: 7.938 kB / 0.6756 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/0.5557, allocations: 3.083 MB / 0.6786 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.5563, allocations: 206.3 kB / 0.6788 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.5565, allocations: 20 kB / 0.6788 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000701/0.5572, allocations: 48 kB / 0.6788 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.5573, allocations: 56.28 kB / 0.6789 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.433e-05/0.5574, allocations: 27.98 kB / 0.6789 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002461/0.5598, allocations: 1.632 MB / 0.6805 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5598, allocations: 0 / 0.6805 GB, free: 4.738 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003114/0.5629, allocations: 0.5859 MB / 0.6811 GB, free: 4.152 MB / 0.5137 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.00493/0.5679, allocations: 3.691 MB / 0.6847 GB, free: 440 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005425/0.5733, allocations: 3.102 MB / 0.6877 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.5733, allocations: 0 / 0.6877 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.5745, allocations: 0.8053 MB / 0.6885 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.576, allocations: 216.5 kB / 0.6887 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04396/0.6199, allocations: 28.4 MB / 0.7165 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002322/0.6222, allocations: 2.167 MB / 0.7186 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003183/0.6254, allocations: 1.399 MB / 0.7199 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001833/0.6273, allocations: 1.011 MB / 0.7209 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of SimCode: time 2.134e-06/0.6273, allocations: 0 / 0.7209 GB, free: 7.555 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/0.9618, allocations: 42.16 MB / 0.7621 GB, free: 134.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.11/21.07, allocations: 2.953 kB / 0.7621 GB, free: 134.7 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 24.158744255000784]