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.001372/0.001372, allocations: 118.6 kB / 18.5 MB, free: 4.434 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.001535/0.001535, allocations: 218.6 kB / 21.47 MB, free: 1.473 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.462/1.462, allocations: 230.2 MB / 254.5 MB, free: 15.25 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.2435/0.2435, allocations: 46.9 MB / 357.4 MB, free: 10.48 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.002178/0.002178, allocations: 79.86 kB / 0.4912 GB, free: 8.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1161, allocations: 65.99 MB / 0.5557 GB, free: 6.238 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008914/0.125, allocations: 6.805 MB / 0.5623 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004686/0.1297, allocations: 2.446 MB / 0.5647 GB, free: 12.93 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000649/0.1303, allocations: 31.94 kB / 0.5647 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002218/0.1326, allocations: 1.066 MB / 0.5658 GB, free: 11.83 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001988/0.1346, allocations: 0.8636 MB / 0.5666 GB, free: 10.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000752/0.1353, allocations: 299.2 kB / 0.5669 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002434/0.1377, allocations: 1.875 MB / 0.5687 GB, free: 8.793 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001368/0.1391, allocations: 1.08 MB / 0.5698 GB, free: 7.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.1401, allocations: 0.7043 MB / 0.5705 GB, free: 6.988 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001411/0.1415, allocations: 1.063 MB / 0.5715 GB, free: 5.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003157/0.1418, allocations: 128 kB / 0.5716 GB, free: 5.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.1431, allocations: 0.7682 MB / 0.5724 GB, free: 5.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009576/0.1441, allocations: 0.9579 MB / 0.5733 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.1452, allocations: 1.125 MB / 0.5744 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00426/0.1495, allocations: 3.726 MB / 0.5781 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1495, allocations: 0 / 0.5781 GB, free: 15.19 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1495, allocations: 0 / 0.5781 GB, free: 15.19 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.865e-05/0.1496, allocations: 0 / 0.5781 GB, free: 15.19 MB / 446.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.004891/0.1544, allocations: 2.723 MB / 0.5807 GB, free: 12.41 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1545, allocations: 12.03 kB / 0.5807 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006043/0.1551, allocations: 458.4 kB / 0.5812 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00522/0.1603, allocations: 1.582 MB / 0.5827 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/0.1627, allocations: 1.081 MB / 0.5838 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/0.1629, allocations: 115.3 kB / 0.5839 GB, free: 9.117 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003649/0.1632, allocations: 163.8 kB / 0.584 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009346/0.1726, allocations: 6.182 MB / 0.5901 GB, free: 2.285 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.345e-05/0.1726, allocations: 23.81 kB / 0.5901 GB, free: 2.262 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.1729, allocations: 79.89 kB / 0.5902 GB, free: 2.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002433/0.1753, allocations: 1.448 MB / 0.5916 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.221/0.3963, allocations: 5.387 MB / 0.5969 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02366/0.42, allocations: 24.81 MB / 0.6211 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00398/0.4239, allocations: 2.245 MB / 0.6233 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009973/0.4249, allocations: 0.8831 MB / 0.6241 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002972/0.4252, allocations: 327.5 kB / 0.6245 GB, free: 11.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.4253, allocations: 44.84 kB / 0.6245 GB, free: 11.48 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 4.158e-06/0.4253, allocations: 3.938 kB / 0.6245 GB, free: 11.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.02009/0.4454, allocations: 8.568 MB / 0.6329 GB, free: 7.336 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4454, allocations: 139.4 kB / 0.633 GB, free: 7.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.4481, allocations: 2.636 MB / 0.6356 GB, free: 5.828 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.4482, allocations: 37.67 kB / 0.6356 GB, free: 5.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007821/0.449, allocations: 2.113 MB / 0.6377 GB, free: 3.941 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003178/0.4493, allocations: 454.3 kB / 0.6381 GB, free: 3.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008123/0.4501, allocations: 0.8748 MB / 0.639 GB, free: 2.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.489e-05/0.4501, allocations: 305.1 kB / 0.6392 GB, free: 2.539 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001427/0.4516, allocations: 1.332 MB / 0.6405 GB, free: 1.199 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/0.4553, allocations: 4.107 MB / 0.6446 GB, free: 11.69 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007108/0.4624, allocations: 5.942 MB / 0.6504 GB, free: 4.367 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.252e-05/0.4625, allocations: 28 kB / 0.6504 GB, free: 4.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01028/0.4728, allocations: 5.492 MB / 0.6558 GB, free: 14.84 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/0.4729, allocations: 48 kB / 0.6558 GB, free: 14.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/0.473, allocations: 101.5 kB / 0.6559 GB, free: 14.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.4742, allocations: 464.4 kB / 0.6563 GB, free: 14.24 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002902/0.4771, allocations: 0.9718 MB / 0.6573 GB, free: 13.27 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004551/0.4816, allocations: 3.681 MB / 0.6609 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002748/0.4844, allocations: 227.7 kB / 0.6611 GB, free: 9.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005259/0.4849, allocations: 272 kB / 0.6614 GB, free: 8.977 MB / 478.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.002206/0.4871, allocations: 1.364 MB / 0.6627 GB, free: 7.598 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.4876, allocations: 230.5 kB / 0.6629 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/0.4901, allocations: 1.318 MB / 0.6642 GB, free: 6.039 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.088e-05/0.4902, allocations: 17.02 kB / 0.6642 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.4902, allocations: 0 / 0.6642 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.43e-05/0.4902, allocations: 7.984 kB / 0.6642 GB, free: 6.016 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008411/0.4986, allocations: 4.195 MB / 0.6683 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.4986, allocations: 4 kB / 0.6683 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006568/0.4993, allocations: 140.2 kB / 0.6685 GB, free: 1.641 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008935/0.5002, allocations: 312.6 kB / 0.6688 GB, free: 1.332 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.565e-05/0.5002, allocations: 19.98 kB / 0.6688 GB, free: 1.312 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003836/0.5041, allocations: 3.07 MB / 0.6718 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.5041, allocations: 0 / 0.6718 GB, free: 14.12 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.5087, allocations: 3.086 MB / 0.6748 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000632/0.5093, allocations: 291.5 kB / 0.6751 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002488/0.5096, allocations: 19.92 kB / 0.6751 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000753/0.5103, allocations: 47.94 kB / 0.6751 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.5105, allocations: 48.31 kB / 0.6752 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.5106, allocations: 32 kB / 0.6752 GB, free: 10.56 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002577/0.5131, allocations: 1.625 MB / 0.6768 GB, free: 8.922 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5131, allocations: 0 / 0.6768 GB, free: 8.922 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003355/0.5165, allocations: 0.5897 MB / 0.6774 GB, free: 8.332 MB / 494.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.005152/0.5216, allocations: 3.703 MB / 0.681 GB, free: 4.609 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005228/0.5269, allocations: 3.097 MB / 0.684 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.5269, allocations: 0 / 0.684 GB, free: 1.527 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00126/0.5281, allocations: 0.8053 MB / 0.6848 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001715/0.5298, allocations: 208.9 kB / 0.685 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04296/0.5728, allocations: 28.37 MB / 0.7127 GB, free: 420 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.5753, allocations: 2.167 MB / 0.7148 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003148/0.5785, allocations: 1.379 MB / 0.7162 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001536/0.58, allocations: 1.023 MB / 0.7172 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.58, allocations: 4 kB / 0.7172 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08351/0.6635, allocations: 38.61 MB / 0.7549 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.53/19.2, allocations: 16.89 kB / 0.7549 GB, free: 5.367 MB / 0.5606 GB " [Timeout remaining time 641] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 22.397034637164325]