Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009442/0.009442, allocations: 99.5 kB / 15.87 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002067/0.002067, allocations: 195.5 kB / 16.79 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.73/1.73, allocations: 205.1 MB / 222.6 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5325/0.5325, allocations: 43.49 MB / 313.5 MB, free: 8.293 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002693/0.002693, allocations: 66.89 kB / 382 MB, free: 8.477 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2078, allocations: 57.79 MB / 439.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.005036/0.2129, allocations: 1.622 MB / 441.4 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2147, allocations: 0.9142 MB / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.2148, allocations: 0 / 442.4 MB, free: 12.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002725/0.2151, allocations: 23.91 kB / 442.4 MB, free: 12.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.2153, allocations: 35.91 kB / 442.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002779/0.2156, allocations: 83.84 kB / 442.5 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.2158, allocations: 59.77 kB / 442.6 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2159, allocations: 15.97 kB / 442.6 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.494e-05/0.216, allocations: 19.94 kB / 442.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.2162, allocations: 27.84 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.2162, allocations: 4 kB / 442.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000115/0.2163, allocations: 43.97 kB / 442.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.2164, allocations: 11.94 kB / 442.7 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.2164, allocations: 23.84 kB / 442.7 MB, free: 11.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.2166, allocations: 95.94 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.2167, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2167, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.2167, allocations: 0 / 442.8 MB, free: 11.59 MB / 382.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.0005795/0.2173, allocations: 375.2 kB / 443.2 MB, free: 11.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.2173, allocations: 8.031 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.2174, allocations: 4.938 kB / 443.2 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.2176, allocations: 192.2 kB / 443.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.2176, allocations: 384 / 443.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.2177, allocations: 8.281 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.2179, allocations: 71.45 kB / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2179, allocations: 0 / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.474e-05/0.2179, allocations: 4 kB / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.2179, allocations: 0 / 443.4 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.2181, allocations: 23.98 kB / 443.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005359/0.2186, allocations: 276.9 kB / 443.7 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003606/0.219, allocations: 54.48 kB / 443.8 MB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.9e-05/0.2191, allocations: 16.86 kB / 443.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.422e-05/0.2191, allocations: 4.078 kB / 443.8 MB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.361e-05/0.2192, allocations: 34.56 kB / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.2192, allocations: 0 / 443.8 MB, free: 10.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007303/0.2199, allocations: 137.6 kB / 444 MB, free: 10.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.2201, allocations: 81.11 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.2203, allocations: 137.8 kB / 444.2 MB, free: 9.992 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.2203, allocations: 29.7 kB / 444.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.2204, allocations: 95.97 kB / 444.3 MB, free: 9.859 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.2205, allocations: 19.75 kB / 444.3 MB, free: 9.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.202e-05/0.2205, allocations: 13.72 kB / 444.3 MB, free: 9.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2207, allocations: 326.8 kB / 444.7 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.491e-05/0.2208, allocations: 23.98 kB / 444.7 MB, free: 9.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.2209, allocations: 29.7 kB / 444.7 MB, free: 9.434 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.2211, allocations: 56.81 kB / 444.8 MB, free: 9.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.2211, allocations: 3.938 kB / 444.8 MB, free: 9.371 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001861/0.2213, allocations: 81.67 kB / 444.9 MB, free: 9.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2213, allocations: 4 kB / 444.9 MB, free: 9.281 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.2213, allocations: 12.02 kB / 444.9 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.2213, allocations: 0 / 444.9 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.2214, allocations: 11.98 kB / 444.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.788e-06/0.2214, allocations: 0 / 444.9 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.2215, allocations: 7.984 kB / 444.9 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.2215, allocations: 3.938 kB / 444.9 MB, free: 9.246 MB / 382.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 0.000132/0.2216, allocations: 121.8 kB / 445 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.084e-05/0.2217, allocations: 4 kB / 445 MB, free: 9.113 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.222, allocations: 101.8 kB / 445.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.222, allocations: 64 / 445.1 MB, free: 9.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.222, allocations: 7.984 kB / 445.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.222, allocations: 0 / 445.1 MB, free: 9.004 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006393/0.2227, allocations: 358.3 kB / 445.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.2227, allocations: 0 / 445.5 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.706e-05/0.2227, allocations: 16 kB / 445.5 MB, free: 8.582 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2227, allocations: 4 kB / 445.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.2228, allocations: 0 / 445.5 MB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.2228, allocations: 7.922 kB / 445.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2228, allocations: 0 / 445.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002745/0.2231, allocations: 171.5 kB / 445.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.382e-05/0.2231, allocations: 85 kB / 445.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.2231, allocations: 4 kB / 445.8 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.306e-05/0.2232, allocations: 11.94 kB / 445.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.2233, allocations: 7.984 kB / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.2233, allocations: 0 / 445.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.2234, allocations: 103.8 kB / 445.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.617e-06/0.2234, allocations: 3.938 kB / 445.9 MB, free: 8.156 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002593/0.2237, allocations: 23.94 kB / 445.9 MB, free: 8.133 MB / 382.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.0011/0.2248, allocations: 445.6 kB / 446.3 MB, free: 7.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002338/0.225, allocations: 47.95 kB / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.225, allocations: 0 / 446.4 MB, free: 7.684 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.417e-05/0.2251, allocations: 35.92 kB / 446.4 MB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.2256, allocations: 23.92 kB / 446.4 MB, free: 7.625 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.226, allocations: 175.1 kB / 446.6 MB, free: 7.422 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.2264, allocations: 0.6926 MB / 447.3 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.447e-05/0.2265, allocations: 24.22 kB / 447.3 MB, free: 6.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.951e-05/0.2265, allocations: 15.42 kB / 447.4 MB, free: 6.664 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2265, allocations: 3.938 kB / 447.4 MB, free: 6.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004912/0.2314, allocations: 1.303 MB / 448.7 MB, free: 5.355 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches