Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 124.5 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002321/0.002321, allocations: 207.2 kB / 20.75 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 254.1 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2272/0.2272, allocations: 46.92 MB / 357.1 MB, free: 10.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.88 kB / 0.4909 GB, free: 7.934 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1174, allocations: 65.98 MB / 0.5554 GB, free: 5.82 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008489/0.1259, allocations: 6.809 MB / 0.562 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004628/0.1306, allocations: 2.446 MB / 0.5644 GB, free: 12.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.1311, allocations: 35.88 kB / 0.5644 GB, free: 12.48 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002192/0.1333, allocations: 1.07 MB / 0.5655 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002154/0.1355, allocations: 0.8597 MB / 0.5663 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008951/0.1364, allocations: 303.2 kB / 0.5666 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002806/0.1392, allocations: 1.872 MB / 0.5684 GB, free: 8.371 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001955/0.1411, allocations: 1.076 MB / 0.5695 GB, free: 7.273 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001449/0.1426, allocations: 0.7238 MB / 0.5702 GB, free: 6.547 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.1443, allocations: 1.059 MB / 0.5712 GB, free: 5.484 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.1448, allocations: 128 kB / 0.5714 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001654/0.1464, allocations: 0.7721 MB / 0.5721 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.1476, allocations: 0.9501 MB / 0.573 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00137/0.1489, allocations: 1.129 MB / 0.5741 GB, free: 2.496 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004398/0.1533, allocations: 3.734 MB / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1534, allocations: 0 / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1534, allocations: 0 / 0.5778 GB, free: 14.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.451e-05/0.1534, allocations: 0 / 0.5778 GB, free: 14.75 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.004694/0.1581, allocations: 2.723 MB / 0.5804 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1581, allocations: 8.031 kB / 0.5804 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005512/0.1587, allocations: 458.4 kB / 0.5809 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005651/0.1643, allocations: 1.582 MB / 0.5824 GB, free: 9.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001951/0.1663, allocations: 1.077 MB / 0.5835 GB, free: 8.793 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.1664, allocations: 119.3 kB / 0.5836 GB, free: 8.676 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003375/0.1667, allocations: 159.8 kB / 0.5837 GB, free: 8.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009408/0.1761, allocations: 6.182 MB / 0.5898 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/0.1762, allocations: 23.81 kB / 0.5898 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002459/0.1764, allocations: 79.89 kB / 0.5899 GB, free: 1.742 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.179, allocations: 1.448 MB / 0.5913 GB, free: 296 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2322/0.4112, allocations: 5.383 MB / 0.5966 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02526/0.4365, allocations: 24.82 MB / 0.6208 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006363/0.4428, allocations: 2.26 MB / 0.623 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/0.4445, allocations: 0.8732 MB / 0.6239 GB, free: 11.49 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.4449, allocations: 327.2 kB / 0.6242 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.4449, allocations: 44.25 kB / 0.6242 GB, free: 11.15 MB / 446.1 MB Notification: Performance of pre-optimization done (n=96): time 5.31e-06/0.4449, allocations: 4 kB / 0.6242 GB, free: 11.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=106): time 0.03108/0.476, allocations: 8.566 MB / 0.6326 GB, free: 6.926 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.476, allocations: 139 kB / 0.6327 GB, free: 6.766 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004269/0.4803, allocations: 2.638 MB / 0.6353 GB, free: 5.414 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001236/0.4804, allocations: 36.3 kB / 0.6353 GB, free: 5.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001207/0.4816, allocations: 2.113 MB / 0.6374 GB, free: 3.527 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004329/0.4821, allocations: 457.3 kB / 0.6378 GB, free: 3.094 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00129/0.4834, allocations: 0.8696 MB / 0.6387 GB, free: 2.211 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.512e-05/0.4834, allocations: 305.1 kB / 0.639 GB, free: 1.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.4858, allocations: 1.336 MB / 0.6403 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006144/0.4919, allocations: 4.11 MB / 0.6443 GB, free: 11.06 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5022, allocations: 5.939 MB / 0.6501 GB, free: 3.738 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.411e-05/0.5023, allocations: 31.94 kB / 0.6501 GB, free: 3.707 MB / 462.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01486/0.5171, allocations: 5.494 MB / 0.6555 GB, free: 14.22 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001212/0.5172, allocations: 48 kB / 0.6555 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000211/0.5174, allocations: 100 kB / 0.6556 GB, free: 14.07 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001684/0.5191, allocations: 464.8 kB / 0.6561 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004366/0.5235, allocations: 0.9747 MB / 0.657 GB, free: 12.64 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/0.5299, allocations: 3.67 MB / 0.6606 GB, free: 8.844 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004125/0.534, allocations: 231.7 kB / 0.6608 GB, free: 8.617 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006435/0.5346, allocations: 268 kB / 0.6611 GB, free: 8.355 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.003089/0.5377, allocations: 1.372 MB / 0.6624 GB, free: 6.969 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006923/0.5384, allocations: 226.5 kB / 0.6626 GB, free: 6.746 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003674/0.5421, allocations: 1.318 MB / 0.6639 GB, free: 5.414 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.562e-05/0.5421, allocations: 16 kB / 0.6639 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5421, allocations: 0 / 0.6639 GB, free: 5.398 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.5422, allocations: 11.92 kB / 0.6639 GB, free: 5.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01239/0.5545, allocations: 4.193 MB / 0.668 GB, free: 1.152 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.5546, allocations: 4 kB / 0.668 GB, free: 1.148 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.5553, allocations: 139.8 kB / 0.6682 GB, free: 1.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009381/0.5563, allocations: 308.6 kB / 0.6685 GB, free: 0.707 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.859e-05/0.5563, allocations: 27.2 kB / 0.6685 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.5602, allocations: 3.071 MB / 0.6715 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5602, allocations: 0 / 0.6715 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004697/0.5649, allocations: 3.083 MB / 0.6745 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006071/0.5655, allocations: 287.5 kB / 0.6748 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.5658, allocations: 15.94 kB / 0.6748 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000969/0.5668, allocations: 47.94 kB / 0.6748 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.5669, allocations: 56.36 kB / 0.6749 GB, free: 9.961 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.567, allocations: 32 kB / 0.6749 GB, free: 9.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002741/0.5698, allocations: 1.628 MB / 0.6765 GB, free: 8.289 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5698, allocations: 0 / 0.6765 GB, free: 8.289 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003183/0.5729, allocations: 0.5858 MB / 0.6771 GB, free: 7.703 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.005167/0.5781, allocations: 3.695 MB / 0.6807 GB, free: 3.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005435/0.5835, allocations: 3.095 MB / 0.6837 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5835, allocations: 0 / 0.6837 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.5849, allocations: 0.8072 MB / 0.6845 GB, free: 80 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/0.5868, allocations: 217.7 kB / 0.6847 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04358/0.6303, allocations: 28.36 MB / 0.7124 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/0.6328, allocations: 2.163 MB / 0.7145 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003033/0.6359, allocations: 1.383 MB / 0.7159 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/0.6373, allocations: 1.026 MB / 0.7169 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of SimCode: time 1.172e-06/0.6373, allocations: 0 / 0.7169 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08709/0.7244, allocations: 38.62 MB / 0.7546 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.8/19.52, allocations: 18.94 kB / 0.7546 GB, free: 4.805 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/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_4.1.0_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.76696954597719]