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.001573/0.001573, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001595/0.001595, allocations: 212.4 kB / 23.73 MB, free: 4.164 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.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.797 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.2376/0.2376, allocations: 46.95 MB / 360.8 MB, free: 3.938 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.002602/0.002602, allocations: 80.06 kB / 0.4961 GB, free: 7.574 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3241, allocations: 66.08 MB / 0.5607 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008942/0.3331, allocations: 6.043 MB / 0.5666 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.3381, allocations: 2.311 MB / 0.5688 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009429/0.339, allocations: 39.88 kB / 0.5689 GB, free: 11.6 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002771/0.3418, allocations: 1.024 MB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.3446, allocations: 0.8597 MB / 0.5707 GB, free: 9.711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000983/0.3456, allocations: 323.1 kB / 0.571 GB, free: 9.395 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0028/0.3484, allocations: 1.861 MB / 0.5728 GB, free: 7.527 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.3501, allocations: 1.088 MB / 0.5739 GB, free: 6.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001277/0.3514, allocations: 0.7238 MB / 0.5746 GB, free: 5.691 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00171/0.3531, allocations: 1.02 MB / 0.5756 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004544/0.3536, allocations: 128 kB / 0.5757 GB, free: 4.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.355, allocations: 0.6357 MB / 0.5763 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00127/0.3563, allocations: 0.9501 MB / 0.5773 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001544/0.3578, allocations: 0.7912 MB / 0.578 GB, free: 2.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005763/0.3636, allocations: 3.734 MB / 0.5817 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.3636, allocations: 4 kB / 0.5817 GB, free: 14.4 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3636, allocations: 0 / 0.5817 GB, free: 14.4 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001929/0.3638, allocations: 0 / 0.5817 GB, free: 14.4 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.007591/0.3714, allocations: 2.643 MB / 0.5843 GB, free: 11.71 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.817e-05/0.3715, allocations: 12.03 kB / 0.5843 GB, free: 11.7 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001426/0.3729, allocations: 454.4 kB / 0.5847 GB, free: 11.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006049/0.3789, allocations: 1.59 MB / 0.5863 GB, free: 9.656 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.3825, allocations: 1.023 MB / 0.5873 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001645/0.3827, allocations: 119.3 kB / 0.5874 GB, free: 8.484 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007854/0.3835, allocations: 163.8 kB / 0.5875 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/0.3947, allocations: 6.178 MB / 0.5936 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.297e-05/0.3947, allocations: 27.75 kB / 0.5936 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002948/0.395, allocations: 87.88 kB / 0.5937 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/0.3975, allocations: 1.437 MB / 0.5951 GB, free: 108 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009269/0.4068, allocations: 5.377 MB / 0.6003 GB, free: 10.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02745/0.4342, allocations: 23.88 MB / 0.6237 GB, free: 2.035 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.4386, allocations: 1.8 MB / 0.6254 GB, free: 204 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.4398, allocations: 0.8862 MB / 0.6263 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002478/0.4401, allocations: 99.73 kB / 0.6264 GB, free: 15.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.4401, allocations: 42.5 kB / 0.6264 GB, free: 15.15 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.717e-06/0.4401, allocations: 4 kB / 0.6264 GB, free: 15.15 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02227/0.4624, allocations: 8.376 MB / 0.6346 GB, free: 6.699 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.292e-05/0.4625, allocations: 144.5 kB / 0.6347 GB, free: 6.527 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003701/0.4662, allocations: 2.798 MB / 0.6375 GB, free: 3.703 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001202/0.4663, allocations: 41.69 kB / 0.6375 GB, free: 3.656 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001638/0.468, allocations: 2.108 MB / 0.6396 GB, free: 1.527 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.4684, allocations: 464.6 kB / 0.64 GB, free: 1.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001075/0.4695, allocations: 0.8695 MB / 0.6409 GB, free: 192 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4696, allocations: 305.1 kB / 0.6411 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001981/0.4716, allocations: 1.328 MB / 0.6424 GB, free: 14.55 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004344/0.476, allocations: 4.112 MB / 0.6465 GB, free: 9.035 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007606/0.4836, allocations: 5.932 MB / 0.6523 GB, free: 1.719 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.305e-05/0.4837, allocations: 28 kB / 0.6523 GB, free: 1.691 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.0109/0.4946, allocations: 5.495 MB / 0.6576 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001135/0.4947, allocations: 44 kB / 0.6577 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002174/0.4949, allocations: 104 kB / 0.6578 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.4961, allocations: 465.1 kB / 0.6582 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/0.4991, allocations: 0.9708 MB / 0.6592 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.5039, allocations: 3.546 MB / 0.6626 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5066, allocations: 231.8 kB / 0.6629 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000606/0.5072, allocations: 275.9 kB / 0.6631 GB, free: 6.461 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.002421/0.5096, allocations: 1.372 MB / 0.6645 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000479/0.5101, allocations: 230.4 kB / 0.6647 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/0.5127, allocations: 1.318 MB / 0.666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-05/0.5127, allocations: 16 kB / 0.666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.5127, allocations: 4 kB / 0.666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.5127, allocations: 7.984 kB / 0.666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/0.5208, allocations: 4.002 MB / 0.6699 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/0.5208, allocations: 3.984 kB / 0.6699 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006551/0.5215, allocations: 135.8 kB / 0.67 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008949/0.5224, allocations: 316.5 kB / 0.6703 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.254e-05/0.5225, allocations: 12 kB / 0.6704 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003722/0.5262, allocations: 2.948 MB / 0.6732 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.5262, allocations: 0 / 0.6732 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004505/0.5307, allocations: 3.091 MB / 0.6763 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006299/0.5313, allocations: 206.3 kB / 0.6764 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/0.5317, allocations: 20 kB / 0.6765 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008566/0.5325, allocations: 43.94 kB / 0.6765 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.5327, allocations: 60.27 kB / 0.6766 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.179e-05/0.5328, allocations: 24 kB / 0.6766 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002877/0.5356, allocations: 1.625 MB / 0.6782 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.5356, allocations: 0 / 0.6782 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003277/0.5389, allocations: 0.5976 MB / 0.6788 GB, free: 6.207 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.005019/0.5439, allocations: 3.695 MB / 0.6824 GB, free: 2.477 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005014/0.549, allocations: 3.095 MB / 0.6854 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.549, allocations: 0 / 0.6854 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5501, allocations: 0.8083 MB / 0.6862 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.5515, allocations: 216.5 kB / 0.6864 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0437/0.5952, allocations: 28.4 MB / 0.7141 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/0.5976, allocations: 1.59 MB / 0.7157 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00303/0.6006, allocations: 1.391 MB / 0.717 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/0.6021, allocations: 1.015 MB / 0.718 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.6021, allocations: 0 / 0.718 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3164/0.9185, allocations: 38.23 MB / 0.7554 GB, free: 141.6 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.35/15.27, allocations: 2.344 kB / 0.7554 GB, free: 141.6 MB / 0.5606 GB " [Timeout remaining time 645] (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: 18.350544397719204]