Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0008356/0.0008356, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003412/0.003412, allocations: 161.5 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.876/0.876, allocations: 177.1 MB / 205 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] 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.2201/0.2201, allocations: 34.26 MB / 295.7 MB, free: 0.6875 MB / 266.7 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: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 443.5 MB, free: 1.137 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.619e-05/1.733e-05, allocations: 2.281 kB / 443.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.1512/0.1512, allocations: 1.59 MB / 445 MB, free: 43.64 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005924/0.1518, allocations: 0.5201 MB / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.1518, allocations: 0 / 445.6 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.152, allocations: 28.88 kB / 445.6 MB, free: 43.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001928/0.1522, allocations: 78.91 kB / 445.7 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.1523, allocations: 88.77 kB / 445.8 MB, free: 43.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.1524, allocations: 73.36 kB / 445.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.474e-05/0.1525, allocations: 10.89 kB / 445.8 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.47e-05/0.1526, allocations: 26.91 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.1526, allocations: 20.08 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.1526, allocations: 3.312 kB / 445.9 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.1527, allocations: 38.55 kB / 445.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.803e-05/0.1527, allocations: 13.69 kB / 445.9 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.1527, allocations: 12.59 kB / 446 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.1528, allocations: 86.02 kB / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.1529, allocations: 0 / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1529, allocations: 2.625 kB / 446 MB, free: 43.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1529, allocations: 2.625 kB / 446 MB, free: 43.39 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000283/0.1531, allocations: 305.2 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.974e-05/0.1532, allocations: 10.44 kB / 446.3 MB, free: 43.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.916e-05/0.1532, allocations: 7.734 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.503e-05/0.1533, allocations: 129.3 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.1533, allocations: 2.969 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.1533, allocations: 6.094 kB / 446.5 MB, free: 42.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.55e-05/0.1534, allocations: 49.83 kB / 446.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.1534, allocations: 192 / 446.5 MB, free: 42.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-06/0.1534, allocations: 4.125 kB / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-06/0.1534, allocations: 0 / 446.5 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.916e-05/0.1535, allocations: 28.12 kB / 446.6 MB, free: 42.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001815/0.1537, allocations: 223.5 kB / 446.8 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1538, allocations: 40.44 kB / 446.8 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.1538, allocations: 24.61 kB / 446.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1538, allocations: 7.078 kB / 446.9 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.997e-06/0.1538, allocations: 33.47 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.81e-07/0.1538, allocations: 3.562 kB / 446.9 MB, free: 42.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003287/0.1542, allocations: 143.8 kB / 447 MB, free: 42.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.1542, allocations: 51.41 kB / 447.1 MB, free: 42.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.324e-05/0.1543, allocations: 152.1 kB / 447.2 MB, free: 42.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.799e-06/0.1543, allocations: 28.89 kB / 447.3 MB, free: 42.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.246e-05/0.1543, allocations: 92.73 kB / 447.4 MB, free: 42.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.484e-05/0.1543, allocations: 21.7 kB / 447.4 MB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.175e-05/0.1543, allocations: 18.47 kB / 447.4 MB, free: 42.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.478e-05/0.1544, allocations: 321.3 kB / 447.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.1544, allocations: 21.92 kB / 447.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/0.1544, allocations: 15.84 kB / 447.7 MB, free: 41.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.035e-05/0.1545, allocations: 43.41 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-07/0.1545, allocations: 5.562 kB / 447.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.247e-05/0.1546, allocations: 93.61 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.257e-06/0.1546, allocations: 5.531 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1546, allocations: 0 / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.1546, allocations: 0 / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.493e-05/0.1546, allocations: 13.91 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.1546, allocations: 0 / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.8e-05/0.1546, allocations: 5.703 kB / 447.9 MB, free: 41.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.1546, allocations: 2.656 kB / 447.9 MB, free: 41.9 MB / 410.7 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 3.597e-05/0.1547, allocations: 116.1 kB / 448 MB, free: 41.78 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.1547, allocations: 10.61 kB / 448 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001203/0.1548, allocations: 102.6 kB / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.1548, allocations: 0 / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1548, allocations: 0 / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1548, allocations: 3.188 kB / 448.1 MB, free: 41.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.155, allocations: 285.6 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.155, allocations: 2.75 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.25e-05/0.155, allocations: 8.781 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.155, allocations: 7.281 kB / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.57e-06/0.155, allocations: 0 / 448.4 MB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.155, allocations: 7.062 kB / 448.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.155, allocations: 3.938 kB / 448.4 MB, free: 41.45 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.254e-05/0.1551, allocations: 177.3 kB / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-06/0.1551, allocations: 6.797 kB / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.766e-06/0.1551, allocations: 0 / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.238e-05/0.1552, allocations: 9.969 kB / 448.6 MB, free: 41.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.264e-05/0.1552, allocations: 6.969 kB / 448.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.1552, allocations: 6.594 kB / 448.6 MB, free: 41.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.603e-05/0.1552, allocations: 113.8 kB / 448.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1552, allocations: 2.656 kB / 448.8 MB, free: 41.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000147/0.1554, allocations: 14.16 kB / 448.8 MB, free: 41.2 MB / 410.7 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.0005703/0.1559, allocations: 434.2 kB / 449.2 MB, free: 41.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.156, allocations: 50.91 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.156, allocations: 0 / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.11e-05/0.1561, allocations: 25.8 kB / 449.3 MB, free: 41.03 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.1563, allocations: 17.2 kB / 449.3 MB, free: 41.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002461/0.1565, allocations: 202.2 kB / 449.5 MB, free: 40.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.1566, allocations: 76.58 kB / 449.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1566, allocations: 21.69 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.1566, allocations: 3.938 kB / 449.6 MB, free: 40.77 MB / 410.7 MB Notification: Performance of Templates: time 0.001791/0.1584, allocations: 1.465 MB / 451.1 MB, free: 40.62 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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: 4.493925640359521]