Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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.002/0.002, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001678/0.001678, allocations: 209.4 kB / 23.74 MB, free: 4.691 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.459/1.459, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2186/0.2186, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 67.91 kB / 0.4931 GB, free: 10.7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 65.48 MB / 0.557 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003033/0.3309, allocations: 1.602 MB / 0.5586 GB, free: 6.141 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.332, allocations: 0.5621 MB / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.17e-05/0.332, allocations: 0 / 0.5592 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.3322, allocations: 27.78 kB / 0.5592 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.3325, allocations: 71.69 kB / 0.5593 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003284/0.3329, allocations: 119.6 kB / 0.5594 GB, free: 5.359 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.333, allocations: 67.78 kB / 0.5594 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.869e-05/0.3331, allocations: 13.81 kB / 0.5594 GB, free: 5.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.982e-05/0.3332, allocations: 19.92 kB / 0.5595 GB, free: 5.262 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.901e-05/0.3333, allocations: 27.86 kB / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.136e-05/0.3333, allocations: 0 / 0.5595 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.3333, allocations: 35.98 kB / 0.5595 GB, free: 5.199 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.039e-05/0.3334, allocations: 19.86 kB / 0.5595 GB, free: 5.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.3334, allocations: 23.81 kB / 0.5596 GB, free: 5.156 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001743/0.3336, allocations: 83.59 kB / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3336, allocations: 0 / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3336, allocations: 0 / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3336, allocations: 0 / 0.5597 GB, free: 5.074 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004632/0.3341, allocations: 309.9 kB / 0.5599 GB, free: 4.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.3341, allocations: 12.03 kB / 0.56 GB, free: 4.73 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.3342, allocations: 30.75 kB / 0.56 GB, free: 4.691 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.3342, allocations: 12.88 kB / 0.56 GB, free: 4.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.3344, allocations: 134.3 kB / 0.5601 GB, free: 4.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3344, allocations: 8.375 kB / 0.5601 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.3344, allocations: 4.312 kB / 0.5601 GB, free: 4.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3345, allocations: 49.62 kB / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/0.3346, allocations: 0 / 0.5602 GB, free: 4.457 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.3346, allocations: 3.984 kB / 0.5602 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3346, allocations: 4 kB / 0.5602 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.665e-05/0.3347, allocations: 23.98 kB / 0.5602 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.3351, allocations: 255.9 kB / 0.5605 GB, free: 4.133 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.3353, allocations: 46.55 kB / 0.5605 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.358e-05/0.3353, allocations: 16.86 kB / 0.5605 GB, free: 4.059 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.3353, allocations: 4 kB / 0.5605 GB, free: 4.055 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.3354, allocations: 30.66 kB / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.3354, allocations: 0 / 0.5606 GB, free: 4.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005571/0.3359, allocations: 145.4 kB / 0.5607 GB, free: 3.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.336, allocations: 63.39 kB / 0.5608 GB, free: 3.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.3361, allocations: 148.4 kB / 0.5609 GB, free: 3.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.3362, allocations: 25.7 kB / 0.5609 GB, free: 3.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.076e-05/0.3362, allocations: 100.1 kB / 0.561 GB, free: 3.504 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.689e-05/0.3363, allocations: 19.86 kB / 0.561 GB, free: 3.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.3363, allocations: 17.72 kB / 0.5611 GB, free: 3.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3364, allocations: 322.8 kB / 0.5614 GB, free: 3.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.683e-05/0.3365, allocations: 19.98 kB / 0.5614 GB, free: 3.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.642e-05/0.3366, allocations: 27.92 kB / 0.5614 GB, free: 3.09 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3367, allocations: 61 kB / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3367, allocations: 0 / 0.5615 GB, free: 3.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001879/0.3369, allocations: 77.62 kB / 0.5615 GB, free: 2.945 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3369, allocations: 8 kB / 0.5615 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.3369, allocations: 0 / 0.5615 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.337, allocations: 0 / 0.5615 GB, free: 2.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.858e-05/0.337, allocations: 15.98 kB / 0.5616 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.653e-06/0.337, allocations: 4 kB / 0.5616 GB, free: 2.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.158e-05/0.3371, allocations: 7.984 kB / 0.5616 GB, free: 2.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/0.3371, allocations: 11.88 kB / 0.5616 GB, free: 2.898 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.712e-05/0.3372, allocations: 117.8 kB / 0.5617 GB, free: 2.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.3372, allocations: 7.953 kB / 0.5617 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000248/0.3375, allocations: 102.3 kB / 0.5618 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.3375, allocations: 7.938 kB / 0.5618 GB, free: 2.641 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.3375, allocations: 3.984 kB / 0.5618 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3375, allocations: 0 / 0.5618 GB, free: 2.637 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004382/0.3379, allocations: 329.5 kB / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3379, allocations: 0 / 0.5621 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.338, allocations: 15.98 kB / 0.5621 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.338, allocations: 0 / 0.5621 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.338, allocations: 0 / 0.5621 GB, free: 2.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.338, allocations: 7.938 kB / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.338, allocations: 0 / 0.5621 GB, free: 2.242 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.3382, allocations: 191.6 kB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.333e-05/0.3382, allocations: 7.953 kB / 0.5623 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.3382, allocations: 0 / 0.5623 GB, free: 2.031 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.552e-05/0.3383, allocations: 11.92 kB / 0.5624 GB, free: 2.02 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.3384, allocations: 4 kB / 0.5624 GB, free: 2.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3384, allocations: 4 kB / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.652e-05/0.3385, allocations: 116.6 kB / 0.5625 GB, free: 1.898 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3385, allocations: 0 / 0.5625 GB, free: 1.898 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002399/0.3387, allocations: 19.94 kB / 0.5625 GB, free: 1.879 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001969/0.3407, allocations: 1.02 MB / 0.5635 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002069/0.3409, allocations: 59.89 kB / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3409, allocations: 0 / 0.5635 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.849e-05/0.3409, allocations: 23.98 kB / 0.5636 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3413, allocations: 17.8 kB / 0.5636 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.343, allocations: 1.468 MB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.3434, allocations: 0.6924 MB / 0.5657 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.836e-05/0.3435, allocations: 15.77 kB / 0.5657 GB, free: 14.61 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.987e-05/0.3435, allocations: 19.44 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3435, allocations: 4 kB / 0.5657 GB, free: 14.59 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0275/0.371, allocations: 2.732 MB / 0.5684 GB, free: 11.91 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.12/11.49, allocations: 7.938 kB / 0.5684 GB, free: 11.91 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004998 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test1.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test1.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: 14.541911365929991]