Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 179.1 kB / 18.09 MB, free: 3.746 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.17/1.17, allocations: 223.3 MB / 242.1 MB, free: 11.67 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.0007032/0.0007033, allocations: 99.56 kB / 293.3 MB, free: 10.76 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.2618/0.2618, allocations: 44.14 MB / 388.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.000402, allocations: 12 kB / 461.1 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2438/0.2442, allocations: 61.89 MB / 0.5107 GB, free: 38.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09341/0.3376, allocations: 88.07 MB / 0.5967 GB, free: 7.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.3379, allocations: 79.95 kB / 0.5968 GB, free: 6.945 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009978/0.3478, allocations: 4.312 MB / 0.601 GB, free: 2.637 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3479, allocations: 3.938 kB / 0.601 GB, free: 2.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3479, allocations: 4 kB / 0.601 GB, free: 2.629 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003571/0.3482, allocations: 418.9 kB / 0.6014 GB, free: 2.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.3483, allocations: 8.031 kB / 0.6014 GB, free: 2.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.3483, allocations: 20.75 kB / 0.6015 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.3485, allocations: 209.4 kB / 0.6017 GB, free: 1.895 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.3485, allocations: 4.312 kB / 0.6017 GB, free: 1.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.745e-05/0.3486, allocations: 8.375 kB / 0.6017 GB, free: 1.883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.3487, allocations: 58.22 kB / 0.6017 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.3487, allocations: 192 / 0.6017 GB, free: 1.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.3487, allocations: 11.94 kB / 0.6017 GB, free: 1.809 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3487, allocations: 3.984 kB / 0.6017 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.979e-05/0.3488, allocations: 31.97 kB / 0.6018 GB, free: 1.773 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.3492, allocations: 300.7 kB / 0.6021 GB, free: 1.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.158e-05/0.3493, allocations: 46.56 kB / 0.6021 GB, free: 1.375 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.587e-05/0.3493, allocations: 20.94 kB / 0.6021 GB, free: 1.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.3494, allocations: 4 kB / 0.6021 GB, free: 1.348 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.3494, allocations: 30.56 kB / 0.6022 GB, free: 1.309 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.3494, allocations: 3.938 kB / 0.6022 GB, free: 1.305 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007448/0.3501, allocations: 249.1 kB / 0.6024 GB, free: 1.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.014e-05/0.3502, allocations: 55.41 kB / 0.6024 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.3504, allocations: 212.8 kB / 0.6026 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.3504, allocations: 33.7 kB / 0.6027 GB, free: 0.7305 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.3505, allocations: 108 kB / 0.6028 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3505, allocations: 27.72 kB / 0.6028 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.3505, allocations: 8 kB / 0.6028 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.3506, allocations: 330.8 kB / 0.6031 GB, free: 260 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.895e-05/0.3507, allocations: 23.98 kB / 0.6032 GB, free: 236 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.098e-05/0.3507, allocations: 31.98 kB / 0.6032 GB, free: 204 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001296/0.3509, allocations: 68.83 kB / 0.6033 GB, free: 132 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.3509, allocations: 0 / 0.6033 GB, free: 132 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001823/0.3511, allocations: 109.4 kB / 0.6034 GB, free: 16 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3511, allocations: 4 kB / 0.6034 GB, free: 12 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3511, allocations: 4 kB / 0.6034 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.877e-06/0.3511, allocations: 0 / 0.6034 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001009/0.3512, allocations: 20.03 kB / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.3512, allocations: 0 / 0.6034 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.333e-05/0.3513, allocations: 15.94 kB / 0.6034 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.3513, allocations: 3.938 kB / 0.6034 GB, free: 15.97 MB / 426.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 (8): * Single equations (assignments): 8 * 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 8.317e-05/0.3514, allocations: 126.3 kB / 0.6035 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.3514, allocations: 19.89 kB / 0.6035 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00026/0.3517, allocations: 127.3 kB / 0.6037 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-06/0.3517, allocations: 4 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3517, allocations: 0 / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.3517, allocations: 3.984 kB / 0.6037 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004854/0.3522, allocations: 435.1 kB / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3522, allocations: 0 / 0.6041 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.3523, allocations: 16 kB / 0.6041 GB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.3523, allocations: 8.016 kB / 0.6041 GB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.3523, allocations: 7.938 kB / 0.6041 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3523, allocations: 0 / 0.6041 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3523, allocations: 0 / 0.6041 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.3526, allocations: 216.2 kB / 0.6043 GB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.596e-05/0.3526, allocations: 96.92 kB / 0.6044 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.3527, allocations: 7.938 kB / 0.6044 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.932e-05/0.3527, allocations: 11.98 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.3528, allocations: 4.422 kB / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-06/0.3528, allocations: 0 / 0.6044 GB, free: 14.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001328/0.3529, allocations: 172.2 kB / 0.6046 GB, free: 14.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3529, allocations: 0 / 0.6046 GB, free: 14.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002282/0.3532, allocations: 31.94 kB / 0.6046 GB, free: 14.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.0008643/0.354, allocations: 465.2 kB / 0.6051 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.3542, allocations: 75.89 kB / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.3542, allocations: 0 / 0.6051 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.945e-05/0.3543, allocations: 39.92 kB / 0.6052 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/0.3546, allocations: 23.97 kB / 0.6052 GB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.355, allocations: 286.2 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3553, allocations: 0.7122 MB / 0.6062 GB, free: 13.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.622e-05/0.3554, allocations: 16.95 kB / 0.6062 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.545e-05/0.3554, allocations: 15.44 kB / 0.6062 GB, free: 13.11 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3554, allocations: 3.938 kB / 0.6062 GB, free: 13.1 MB / 426.7 MB Notification: Performance of Templates: time 0.003265/0.3587, allocations: 1.386 MB / 0.6076 GB, free: 11.72 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches