Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 182.4 kB / 18.09 MB, free: 3.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.178/1.178, allocations: 223.3 MB / 242.1 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007655/0.0007655, allocations: 102 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2675/0.2675, allocations: 44.13 MB / 388.5 MB, free: 38.49 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003125/0.0003125, allocations: 12 kB / 461.1 MB, free: 1.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.244, allocations: 61.87 MB / 0.5107 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08979/0.3338, allocations: 87.96 MB / 0.5966 GB, free: 7.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001869/0.334, allocations: 79.95 kB / 0.5967 GB, free: 7.016 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008629/0.3427, allocations: 3.682 MB / 0.6003 GB, free: 3.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3427, allocations: 3.938 kB / 0.6003 GB, free: 3.324 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.784e-06/0.3427, allocations: 0 / 0.6003 GB, free: 3.324 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.0002956/0.343, allocations: 387.2 kB / 0.6007 GB, free: 2.895 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.146e-05/0.3431, allocations: 12.03 kB / 0.6007 GB, free: 2.883 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.744e-05/0.3431, allocations: 8.844 kB / 0.6007 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.3433, allocations: 196.1 kB / 0.6009 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.065e-06/0.3433, allocations: 384 / 0.6009 GB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3433, allocations: 4.375 kB / 0.6009 GB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.3434, allocations: 50.25 kB / 0.6009 GB, free: 2.586 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.3434, allocations: 4.172 kB / 0.6009 GB, free: 2.582 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3434, allocations: 3.938 kB / 0.6009 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.3434, allocations: 0 / 0.6009 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.3435, allocations: 27.98 kB / 0.601 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.3438, allocations: 272.9 kB / 0.6012 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.344, allocations: 42.5 kB / 0.6013 GB, free: 2.184 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.717e-05/0.3441, allocations: 20.86 kB / 0.6013 GB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.401e-05/0.3441, allocations: 4 kB / 0.6013 GB, free: 2.156 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.746e-05/0.3441, allocations: 34.66 kB / 0.6013 GB, free: 2.113 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.473e-06/0.3441, allocations: 3.938 kB / 0.6013 GB, free: 2.109 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004603/0.3446, allocations: 161.2 kB / 0.6015 GB, free: 1.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.3446, allocations: 51.41 kB / 0.6015 GB, free: 1.883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3447, allocations: 140.6 kB / 0.6017 GB, free: 1.734 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.3447, allocations: 25.7 kB / 0.6017 GB, free: 1.703 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.3448, allocations: 92.14 kB / 0.6018 GB, free: 1.609 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.3448, allocations: 19.8 kB / 0.6018 GB, free: 1.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.3448, allocations: 4 kB / 0.6018 GB, free: 1.586 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.804e-05/0.3449, allocations: 318.8 kB / 0.6021 GB, free: 1.266 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.217e-05/0.345, allocations: 23.92 kB / 0.6021 GB, free: 1.242 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.419e-05/0.345, allocations: 19.98 kB / 0.6021 GB, free: 1.223 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/0.3451, allocations: 60.83 kB / 0.6022 GB, free: 1.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.3451, allocations: 0 / 0.6022 GB, free: 1.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001538/0.3453, allocations: 81.86 kB / 0.6023 GB, free: 1.074 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.3453, allocations: 8 kB / 0.6023 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3453, allocations: 0 / 0.6023 GB, free: 1.066 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.604e-06/0.3453, allocations: 4 kB / 0.6023 GB, free: 1.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.3454, allocations: 19.92 kB / 0.6023 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3454, allocations: 0 / 0.6023 GB, free: 1.043 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.3455, allocations: 7.984 kB / 0.6023 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.3455, allocations: 3.984 kB / 0.6023 GB, free: 1.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.543e-05/0.3455, allocations: 126.2 kB / 0.6024 GB, free: 0.8984 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/0.3456, allocations: 7.906 kB / 0.6024 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002001/0.3458, allocations: 97.97 kB / 0.6025 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3458, allocations: 3.938 kB / 0.6025 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.3458, allocations: 0 / 0.6025 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.3458, allocations: 0 / 0.6025 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.3462, allocations: 366.4 kB / 0.6029 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3462, allocations: 384 / 0.6029 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.034e-05/0.3462, allocations: 12 kB / 0.6029 GB, free: 368 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.3462, allocations: 4 kB / 0.6029 GB, free: 364 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.3462, allocations: 4 kB / 0.6029 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3462, allocations: 0 / 0.6029 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3463, allocations: 4 kB / 0.6029 GB, free: 356 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001812/0.3464, allocations: 187.3 kB / 0.6031 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.3465, allocations: 88.95 kB / 0.6032 GB, free: 44 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3465, allocations: 7.984 kB / 0.6032 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.239e-05/0.3466, allocations: 8 kB / 0.6032 GB, free: 28 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.3466, allocations: 7.938 kB / 0.6032 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.3466, allocations: 0 / 0.6032 GB, free: 20 kB / 410.7 MB Notification: Performance of sorting global known variables: time 7.227e-05/0.3467, allocations: 111.2 kB / 0.6033 GB, free: 15.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3467, allocations: 0 / 0.6033 GB, free: 15.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000207/0.3469, allocations: 16 kB / 0.6033 GB, free: 15.89 MB / 426.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007388/0.3477, allocations: 418.4 kB / 0.6037 GB, free: 15.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.3478, allocations: 51.91 kB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.3478, allocations: 4 kB / 0.6038 GB, free: 15.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.786e-05/0.3479, allocations: 27.98 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.3482, allocations: 17.81 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002862/0.3485, allocations: 176.6 kB / 0.604 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.3487, allocations: 0.6926 MB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 3.609e-05/0.3487, allocations: 8 kB / 0.6047 GB, free: 14.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.3487, allocations: 15.42 kB / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3487, allocations: 0 / 0.6047 GB, free: 14.6 MB / 426.7 MB Notification: Performance of Templates: time 0.002603/0.3514, allocations: 1.026 MB / 0.6057 GB, free: 13.58 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches