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.0008153/0.0008153, allocations: 92.31 kB / 20.95 MB, free: 3.598 MB / 18.57 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.0008168/0.0008168, allocations: 160.9 kB / 24.26 MB, free: 296 kB / 18.57 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 0.8701/0.8701, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] 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.2296/0.2296, allocations: 34.24 MB / 295.2 MB, free: 0.6602 MB / 266.7 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 1.724e-06/1.724e-06, allocations: 0 / 376.7 MB, free: 3.453 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.357e-05/1.529e-05, allocations: 2.312 kB / 376.7 MB, free: 3.449 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.00464/0.004655, allocations: 6.047 MB / 382.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002786/0.007441, allocations: 2.313 MB / 385 MB, free: 11.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.007741, allocations: 43.75 kB / 385.1 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.008939, allocations: 1.082 MB / 386.2 MB, free: 9.918 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009899/0.009929, allocations: 0.8941 MB / 387.1 MB, free: 9.02 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.0103, allocations: 331 kB / 387.4 MB, free: 8.695 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001158/0.01145, allocations: 1.903 MB / 389.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009766/0.01243, allocations: 1.131 MB / 390.4 MB, free: 5.637 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007662/0.0132, allocations: 1.04 MB / 391.5 MB, free: 4.594 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007895/0.01399, allocations: 0.9856 MB / 392.4 MB, free: 3.605 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.01411, allocations: 131.9 kB / 392.6 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006265/0.01474, allocations: 0.6746 MB / 393.2 MB, free: 2.801 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004704/0.01521, allocations: 0.9814 MB / 394.2 MB, free: 1.816 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003588/0.01557, allocations: 0.5759 MB / 394.8 MB, free: 1.238 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002527/0.01809, allocations: 3.675 MB / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.0181, allocations: 0 / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.0181, allocations: 0 / 398.5 MB, free: 13.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.358e-05/0.01813, allocations: 0 / 398.5 MB, free: 13.55 MB / 378.7 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.002498/0.02063, allocations: 2.612 MB / 401.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.02067, allocations: 15.97 kB / 401.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003274/0.021, allocations: 458.3 kB / 401.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.02409, allocations: 1.934 MB / 403.5 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.02543, allocations: 1.038 MB / 404.5 MB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.318e-05/0.02548, allocations: 115.3 kB / 404.6 MB, free: 7.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.02568, allocations: 156.2 kB / 404.8 MB, free: 7.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.03045, allocations: 6.19 MB / 411 MB, free: 484 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.342e-05/0.03049, allocations: 27.75 kB / 411 MB, free: 456 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/0.03064, allocations: 75.89 kB / 411.1 MB, free: 380 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00162/0.03226, allocations: 1.445 MB / 412.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005401/0.03766, allocations: 5.381 MB / 417.9 MB, free: 9.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01506/0.05272, allocations: 23.93 MB / 441.8 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1323/0.1851, allocations: 1.856 MB / 443.7 MB, free: 100.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007044/0.1858, allocations: 0.8861 MB / 444.6 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001652/0.1859, allocations: 94.83 kB / 444.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.1859, allocations: 49.53 kB / 444.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.925e-06/0.1859, allocations: 0 / 444.7 MB, free: 100.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.0118/0.1977, allocations: 8.671 MB / 453.4 MB, free: 97.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.1978, allocations: 145.2 kB / 453.5 MB, free: 97.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.2, allocations: 2.808 MB / 456.3 MB, free: 96.07 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.237e-05/0.2, allocations: 42.16 kB / 456.4 MB, free: 96.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/0.2006, allocations: 2.09 MB / 458.5 MB, free: 94.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.2007, allocations: 450 kB / 458.9 MB, free: 94.17 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000546/0.2013, allocations: 0.8515 MB / 459.8 MB, free: 93.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.806e-05/0.2013, allocations: 301.1 kB / 460.1 MB, free: 93.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.2024, allocations: 1.333 MB / 461.4 MB, free: 93.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001756/0.2041, allocations: 4.108 MB / 465.5 MB, free: 88.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00321/0.2073, allocations: 5.94 MB / 471.4 MB, free: 83.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-05/0.2073, allocations: 28.09 kB / 471.5 MB, free: 83.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.004951/0.2123, allocations: 5.738 MB / 477.2 MB, free: 81.49 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.2124, allocations: 47.06 kB / 477.2 MB, free: 81.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001025/0.2125, allocations: 103.1 kB / 477.3 MB, free: 81.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006557/0.2131, allocations: 453.7 kB / 477.8 MB, free: 81.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.2148, allocations: 0.9789 MB / 478.8 MB, free: 81.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.2172, allocations: 3.557 MB / 482.3 MB, free: 79.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001469/0.2187, allocations: 230.5 kB / 482.6 MB, free: 78.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000279/0.219, allocations: 271.4 kB / 482.8 MB, free: 78.91 MB / 410.7 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.001371/0.2203, allocations: 1.371 MB / 484.2 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.2206, allocations: 252.8 kB / 484.4 MB, free: 78.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.2219, allocations: 1.325 MB / 485.8 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.478e-05/0.2219, allocations: 12.38 kB / 485.8 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2219, allocations: 4.062 kB / 485.8 MB, free: 77.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.2219, allocations: 8.781 kB / 485.8 MB, free: 77.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.2257, allocations: 4.007 MB / 489.8 MB, free: 76.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.2257, allocations: 0 / 489.8 MB, free: 76.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003027/0.226, allocations: 140.1 kB / 489.9 MB, free: 76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004113/0.2264, allocations: 321.3 kB / 490.2 MB, free: 75.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.2264, allocations: 15.75 kB / 490.3 MB, free: 75.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001572/0.228, allocations: 2.953 MB / 493.2 MB, free: 73.97 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.228, allocations: 3.688 kB / 493.2 MB, free: 73.97 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.2301, allocations: 3.109 MB / 496.3 MB, free: 72.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.2302, allocations: 209.3 kB / 496.5 MB, free: 71.95 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.2304, allocations: 16 kB / 496.5 MB, free: 71.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.2307, allocations: 45.16 kB / 496.6 MB, free: 71.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.301e-05/0.2308, allocations: 59.62 kB / 496.6 MB, free: 71.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.2308, allocations: 31.38 kB / 496.7 MB, free: 71.84 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001067/0.2319, allocations: 1.626 MB / 498.3 MB, free: 70.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2319, allocations: 0 / 498.3 MB, free: 70.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001718/0.2336, allocations: 0.5932 MB / 498.9 MB, free: 69.89 MB / 410.7 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.002467/0.2361, allocations: 3.714 MB / 0.4908 GB, free: 66.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.2387, allocations: 3.106 MB / 0.4939 GB, free: 63.78 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2387, allocations: 4 kB / 0.4939 GB, free: 63.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.2394, allocations: 0.8071 MB / 0.4947 GB, free: 63.05 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007364/0.2401, allocations: 209.5 kB / 0.4949 GB, free: 62.87 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01911/0.2592, allocations: 28.43 MB / 0.5226 GB, free: 33.24 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000961/0.2602, allocations: 1.592 MB / 0.5242 GB, free: 31.63 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001449/0.2616, allocations: 1.381 MB / 0.5255 GB, free: 30.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006471/0.2623, allocations: 1.028 MB / 0.5265 GB, free: 29.21 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/0.2623, allocations: 0 / 0.5265 GB, free: 29.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04896/0.3112, allocations: 38.54 MB / 0.5642 GB, free: 7.121 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.749/9.06, allocations: 0 / 0.5642 GB, free: 7.121 MB / 426.7 MB " [Timeout remaining time 651] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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: 10.981524868868291]