Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008371/0.0008372, allocations: 183 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.165/1.165, allocations: 223.3 MB / 242.1 MB, free: 11.68 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.0007987/0.0007988, allocations: 94.33 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.2788/0.2788, allocations: 44.16 MB / 388.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003303/0.0003304, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 61.88 MB / 0.5107 GB, free: 38.28 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09071/0.3401, allocations: 87.96 MB / 0.5966 GB, free: 7.102 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001933/0.3403, allocations: 79.94 kB / 0.5967 GB, free: 7.027 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009083/0.3494, allocations: 3.722 MB / 0.6003 GB, free: 3.301 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3494, allocations: 0 / 0.6003 GB, free: 3.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.3495, allocations: 4 kB / 0.6003 GB, free: 3.297 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.00038/0.3499, allocations: 395 kB / 0.6007 GB, free: 2.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3499, allocations: 8.031 kB / 0.6007 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.3499, allocations: 8.844 kB / 0.6007 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002012/0.3501, allocations: 196.2 kB / 0.6009 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.348e-06/0.3502, allocations: 384 / 0.6009 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.3502, allocations: 384 / 0.6009 GB, free: 2.613 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3503, allocations: 54.25 kB / 0.601 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.3503, allocations: 192 / 0.601 GB, free: 2.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.3503, allocations: 7.938 kB / 0.601 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3504, allocations: 0 / 0.601 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.3504, allocations: 27.92 kB / 0.601 GB, free: 2.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003035/0.3508, allocations: 272.9 kB / 0.6013 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.3509, allocations: 46.5 kB / 0.6013 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/0.351, allocations: 20.94 kB / 0.6013 GB, free: 2.125 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.351, allocations: 7.938 kB / 0.6013 GB, free: 2.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.351, allocations: 38.44 kB / 0.6014 GB, free: 2.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.103e-06/0.351, allocations: 0 / 0.6014 GB, free: 2.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004798/0.3515, allocations: 153.3 kB / 0.6015 GB, free: 1.914 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.3516, allocations: 63.34 kB / 0.6016 GB, free: 1.84 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3517, allocations: 151.1 kB / 0.6017 GB, free: 1.684 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.3517, allocations: 25.7 kB / 0.6018 GB, free: 1.652 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.3518, allocations: 96.12 kB / 0.6018 GB, free: 1.555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.3518, allocations: 15.75 kB / 0.6019 GB, free: 1.539 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-06/0.3518, allocations: 4 kB / 0.6019 GB, free: 1.535 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001037/0.3519, allocations: 322.8 kB / 0.6022 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.374e-05/0.352, allocations: 23.98 kB / 0.6022 GB, free: 1.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.3521, allocations: 19.98 kB / 0.6022 GB, free: 1.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001196/0.3522, allocations: 52.84 kB / 0.6023 GB, free: 1.113 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.3522, allocations: 0 / 0.6023 GB, free: 1.113 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001662/0.3524, allocations: 89.81 kB / 0.6023 GB, free: 1.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3524, allocations: 11.94 kB / 0.6024 GB, free: 1.008 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.3524, allocations: 4 kB / 0.6024 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.3524, allocations: 0 / 0.6024 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.3525, allocations: 12 kB / 0.6024 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.3525, allocations: 0 / 0.6024 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.976e-05/0.3525, allocations: 11.98 kB / 0.6024 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.3525, allocations: 0 / 0.6024 GB, free: 0.9805 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 7.189e-05/0.3526, allocations: 122.3 kB / 0.6025 GB, free: 0.8516 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.3526, allocations: 7.906 kB / 0.6025 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.3529, allocations: 97.97 kB / 0.6026 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.3529, allocations: 11.92 kB / 0.6026 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.3529, allocations: 0 / 0.6026 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.3529, allocations: 0 / 0.6026 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.3533, allocations: 354.5 kB / 0.603 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3533, allocations: 4 kB / 0.603 GB, free: 336 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.3534, allocations: 15.98 kB / 0.603 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3534, allocations: 0 / 0.603 GB, free: 320 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3534, allocations: 4 kB / 0.603 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3534, allocations: 0 / 0.603 GB, free: 316 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3534, allocations: 7.875 kB / 0.603 GB, free: 308 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001973/0.3536, allocations: 191.4 kB / 0.6032 GB, free: 100 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.541e-05/0.3537, allocations: 81.02 kB / 0.6032 GB, free: 0 / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.3537, allocations: 8.047 kB / 0.6032 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.341e-05/0.3538, allocations: 8.125 kB / 0.6033 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.3538, allocations: 7.938 kB / 0.6033 GB, free: 15.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3538, allocations: 4 kB / 0.6033 GB, free: 15.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.3539, allocations: 120.7 kB / 0.6034 GB, free: 15.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3539, allocations: 7.938 kB / 0.6034 GB, free: 15.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002135/0.3542, allocations: 12 kB / 0.6034 GB, free: 15.84 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.0007545/0.3549, allocations: 405.4 kB / 0.6038 GB, free: 15.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.3551, allocations: 55.91 kB / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3551, allocations: 0 / 0.6038 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.3552, allocations: 31.92 kB / 0.6039 GB, free: 15.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002486/0.3554, allocations: 20.56 kB / 0.6039 GB, free: 15.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.3558, allocations: 192.2 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002341/0.356, allocations: 0.6965 MB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.036e-05/0.3561, allocations: 8.234 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.952e-05/0.3561, allocations: 15.38 kB / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3561, allocations: 3.938 kB / 0.6048 GB, free: 14.53 MB / 426.7 MB Notification: Performance of Templates: time 0.002834/0.3589, allocations: 1.049 MB / 0.6058 GB, free: 13.48 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches