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.0008498/0.0008498, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.00083/0.00083, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 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.8913/0.8913, allocations: 177 MB / 204.1 MB, free: 5.742 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.239/0.239, allocations: 34.23 MB / 294.8 MB, free: 0.6953 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.473e-06/1.473e-06, allocations: 0 / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.202e-05/1.35e-05, allocations: 2.281 kB / 442.1 MB, free: 1.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.1716/0.1717, allocations: 6.04 MB / 448.2 MB, free: 41.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.1742, allocations: 2.311 MB / 450.5 MB, free: 39.85 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/0.1746, allocations: 34.06 kB / 450.5 MB, free: 39.84 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.1757, allocations: 1.078 MB / 451.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000879/0.1765, allocations: 0.8825 MB / 452.5 MB, free: 38.96 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.1769, allocations: 334.3 kB / 452.8 MB, free: 38.82 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008686/0.1778, allocations: 1.91 MB / 454.7 MB, free: 38.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006049/0.1784, allocations: 1.092 MB / 455.8 MB, free: 37.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005801/0.1789, allocations: 1.038 MB / 456.8 MB, free: 37.11 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005751/0.1795, allocations: 0.994 MB / 457.8 MB, free: 36.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001153/0.1796, allocations: 126.3 kB / 458 MB, free: 36.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005218/0.1802, allocations: 0.6753 MB / 458.6 MB, free: 36.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000362/0.1805, allocations: 0.9815 MB / 459.6 MB, free: 36.29 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002907/0.1808, allocations: 0.5794 MB / 460.2 MB, free: 36.01 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001711/0.1825, allocations: 3.67 MB / 463.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1825, allocations: 0 / 463.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1825, allocations: 0 / 463.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.1825, allocations: 0 / 463.9 MB, free: 34.71 MB / 410.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.002121/0.1847, allocations: 2.615 MB / 466.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1847, allocations: 9.938 kB / 466.5 MB, free: 33.1 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002795/0.185, allocations: 454.1 kB / 466.9 MB, free: 32.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.1875, allocations: 1.617 MB / 468.6 MB, free: 32.64 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009436/0.1884, allocations: 1.031 MB / 469.6 MB, free: 32.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.1885, allocations: 120.7 kB / 469.7 MB, free: 31.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.1886, allocations: 154.6 kB / 469.9 MB, free: 31.93 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004474/0.1931, allocations: 6.194 MB / 476.1 MB, free: 28.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.083e-05/0.1932, allocations: 21.91 kB / 476.1 MB, free: 28.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001538/0.1933, allocations: 80.14 kB / 476.2 MB, free: 28.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001407/0.1947, allocations: 1.446 MB / 477.6 MB, free: 28.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00623/0.201, allocations: 5.385 MB / 483 MB, free: 26.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0138/0.2148, allocations: 23.89 MB / 0.495 GB, free: 9.004 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002679/0.2174, allocations: 1.857 MB / 0.4968 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/0.2182, allocations: 0.8771 MB / 0.4977 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/0.2184, allocations: 93.56 kB / 0.4978 GB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2184, allocations: 52.09 kB / 0.4978 GB, free: 8.031 MB / 410.7 MB Notification: Performance of pre-optimization done (n=96): time 2.855e-06/0.2184, allocations: 0 / 0.4978 GB, free: 8.031 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.01399/0.2324, allocations: 8.613 MB / 0.5062 GB, free: 3.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2324, allocations: 148.4 kB / 0.5064 GB, free: 3.074 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002098/0.2345, allocations: 2.809 MB / 0.5091 GB, free: 248 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.2346, allocations: 37.7 kB / 0.5091 GB, free: 204 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008559/0.2354, allocations: 2.089 MB / 0.5112 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.2357, allocations: 452.6 kB / 0.5116 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006616/0.2363, allocations: 0.8617 MB / 0.5124 GB, free: 12.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.2364, allocations: 301.1 kB / 0.5127 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.2376, allocations: 1.328 MB / 0.514 GB, free: 11.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.2398, allocations: 4.112 MB / 0.518 GB, free: 5.621 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003785/0.2436, allocations: 5.935 MB / 0.5238 GB, free: 14.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.51e-05/0.2436, allocations: 28 kB / 0.5239 GB, free: 14.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.005008/0.2486, allocations: 5.496 MB / 0.5292 GB, free: 8.766 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.2487, allocations: 51.98 kB / 0.5293 GB, free: 8.715 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.681e-05/0.2488, allocations: 96 kB / 0.5294 GB, free: 8.621 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005961/0.2494, allocations: 465.2 kB / 0.5298 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/0.2508, allocations: 0.9773 MB / 0.5308 GB, free: 7.188 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002642/0.2534, allocations: 3.543 MB / 0.5342 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.2547, allocations: 227.7 kB / 0.5345 GB, free: 3.309 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002056/0.2549, allocations: 268 kB / 0.5347 GB, free: 3.047 MB / 442.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.001293/0.2562, allocations: 1.368 MB / 0.536 GB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.2564, allocations: 226.5 kB / 0.5363 GB, free: 1.441 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001316/0.2577, allocations: 1.327 MB / 0.5376 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.2578, allocations: 12 kB / 0.5376 GB, free: 96 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.2578, allocations: 4 kB / 0.5376 GB, free: 92 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.2578, allocations: 3.984 kB / 0.5376 GB, free: 88 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004216/0.262, allocations: 4.022 MB / 0.5415 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.262, allocations: 0 / 0.5415 GB, free: 12.01 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003125/0.2623, allocations: 135.1 kB / 0.5416 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.2627, allocations: 328.5 kB / 0.5419 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.2628, allocations: 12 kB / 0.542 GB, free: 11.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001975/0.2648, allocations: 2.94 MB / 0.5448 GB, free: 8.496 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2648, allocations: 4.031 kB / 0.5448 GB, free: 8.492 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/0.2672, allocations: 3.087 MB / 0.5478 GB, free: 5.375 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002414/0.2674, allocations: 210.3 kB / 0.548 GB, free: 5.168 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.2676, allocations: 16 kB / 0.5481 GB, free: 5.152 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.2679, allocations: 43.94 kB / 0.5481 GB, free: 5.109 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.678e-05/0.268, allocations: 56.39 kB / 0.5482 GB, free: 5.055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/0.268, allocations: 28 kB / 0.5482 GB, free: 5.027 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.2694, allocations: 1.625 MB / 0.5498 GB, free: 3.391 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2694, allocations: 4.062 kB / 0.5498 GB, free: 3.387 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001825/0.2712, allocations: 0.5859 MB / 0.5503 GB, free: 2.801 MB / 458.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.002792/0.274, allocations: 3.699 MB / 0.554 GB, free: 15.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002838/0.2768, allocations: 3.107 MB / 0.557 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2768, allocations: 0 / 0.557 GB, free: 11.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006375/0.2774, allocations: 0.8099 MB / 0.5578 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007408/0.2782, allocations: 202.5 kB / 0.558 GB, free: 10.96 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/0.3006, allocations: 28.19 MB / 0.5855 GB, free: 11.03 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/0.3018, allocations: 1.595 MB / 0.5871 GB, free: 9.395 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001656/0.3035, allocations: 1.391 MB / 0.5884 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008147/0.3043, allocations: 1.016 MB / 0.5894 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of SimCode: time 1.022e-06/0.3043, allocations: 0 / 0.5894 GB, free: 6.98 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04587/0.3502, allocations: 38.29 MB / 0.6268 GB, free: 1.117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.783/9.133, allocations: 8.062 kB / 0.6268 GB, free: 1.109 MB / 0.5261 GB " [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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 11.215740784071386]