Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008691/0.0008692, allocations: 179.8 kB / 18.09 MB, free: 3.625 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.197/1.197, 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.0007757/0.0007757, allocations: 94.81 kB / 293.3 MB, free: 10.78 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.2637/0.2637, allocations: 44.15 MB / 388.5 MB, free: 38.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000327/0.0003271, allocations: 16 kB / 461.1 MB, free: 1.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2468, allocations: 61.88 MB / 0.5107 GB, free: 38.22 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0912/0.338, allocations: 87.96 MB / 0.5966 GB, free: 7.113 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/0.3383, allocations: 75.95 kB / 0.5967 GB, free: 7.043 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00902/0.3473, allocations: 3.722 MB / 0.6003 GB, free: 3.316 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.3473, allocations: 0 / 0.6003 GB, free: 3.316 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.3473, allocations: 0 / 0.6003 GB, free: 3.316 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.0003172/0.3477, allocations: 387.1 kB / 0.6007 GB, free: 2.887 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3477, allocations: 12.02 kB / 0.6007 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.3477, allocations: 12.84 kB / 0.6007 GB, free: 2.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.3479, allocations: 196.2 kB / 0.6009 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.903e-06/0.3479, allocations: 384 / 0.6009 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.3479, allocations: 384 / 0.6009 GB, free: 2.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.3481, allocations: 50.25 kB / 0.601 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3481, allocations: 192 / 0.601 GB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3481, allocations: 7.938 kB / 0.601 GB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.3481, allocations: 4 kB / 0.601 GB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.066e-05/0.3482, allocations: 23.92 kB / 0.601 GB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.3485, allocations: 280.9 kB / 0.6013 GB, free: 2.219 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.3487, allocations: 42.5 kB / 0.6013 GB, free: 2.168 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.769e-05/0.3487, allocations: 16.94 kB / 0.6013 GB, free: 2.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.3488, allocations: 7.938 kB / 0.6013 GB, free: 2.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.3488, allocations: 42.5 kB / 0.6014 GB, free: 2.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.3488, allocations: 0 / 0.6014 GB, free: 2.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004556/0.3493, allocations: 149.3 kB / 0.6015 GB, free: 1.938 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3493, allocations: 59.34 kB / 0.6016 GB, free: 1.867 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3494, allocations: 151.1 kB / 0.6017 GB, free: 1.711 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.3494, allocations: 25.7 kB / 0.6017 GB, free: 1.68 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.474e-05/0.3495, allocations: 92.14 kB / 0.6018 GB, free: 1.586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.3495, allocations: 15.73 kB / 0.6018 GB, free: 1.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.3495, allocations: 4 kB / 0.6018 GB, free: 1.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.82e-05/0.3496, allocations: 318.8 kB / 0.6021 GB, free: 1.246 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.3497, allocations: 27.98 kB / 0.6022 GB, free: 1.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.124e-05/0.3497, allocations: 19.98 kB / 0.6022 GB, free: 1.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3499, allocations: 52.83 kB / 0.6022 GB, free: 1.145 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.3499, allocations: 4 kB / 0.6022 GB, free: 1.141 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001561/0.35, allocations: 85.58 kB / 0.6023 GB, free: 1.051 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.3501, allocations: 17.48 kB / 0.6023 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.3501, allocations: 256 / 0.6023 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.3501, allocations: 0 / 0.6023 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/0.3501, allocations: 20 kB / 0.6024 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.3502, allocations: 3.938 kB / 0.6024 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.757e-05/0.3502, allocations: 7.984 kB / 0.6024 GB, free: 1.004 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.3502, allocations: 0 / 0.6024 GB, free: 1.004 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.023e-05/0.3503, allocations: 122.3 kB / 0.6025 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3503, allocations: 7.906 kB / 0.6025 GB, free: 0.8672 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.3505, allocations: 102 kB / 0.6026 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3505, allocations: 7.938 kB / 0.6026 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.3505, allocations: 0 / 0.6026 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.3506, allocations: 3.984 kB / 0.6026 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003526/0.3509, allocations: 354.5 kB / 0.6029 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3509, allocations: 0 / 0.6029 GB, free: 360 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.257e-05/0.351, allocations: 15.98 kB / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.351, allocations: 288 / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-06/0.351, allocations: 0 / 0.603 GB, free: 344 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.351, allocations: 4 kB / 0.603 GB, free: 340 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.351, allocations: 7.875 kB / 0.603 GB, free: 332 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001891/0.3512, allocations: 191.4 kB / 0.6032 GB, free: 124 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.827e-05/0.3513, allocations: 85 kB / 0.6032 GB, free: 20 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.3513, allocations: 4 kB / 0.6032 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.3513, allocations: 8 kB / 0.6032 GB, free: 8 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.213e-05/0.3514, allocations: 16.12 kB / 0.6033 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.3514, allocations: 0 / 0.6033 GB, free: 15.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.398e-05/0.3515, allocations: 115.2 kB / 0.6034 GB, free: 15.88 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3515, allocations: 4 kB / 0.6034 GB, free: 15.87 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002168/0.3517, allocations: 12 kB / 0.6034 GB, free: 15.86 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.0007453/0.3525, allocations: 411 kB / 0.6038 GB, free: 15.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001621/0.3526, allocations: 55.91 kB / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3527, allocations: 0 / 0.6038 GB, free: 15.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-05/0.3527, allocations: 31.92 kB / 0.6039 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.353, allocations: 18.91 kB / 0.6039 GB, free: 15.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.3533, allocations: 196.2 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3535, allocations: 0.6926 MB / 0.6047 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.132e-05/0.3536, allocations: 7.984 kB / 0.6048 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.3536, allocations: 11.44 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3536, allocations: 7.938 kB / 0.6048 GB, free: 14.55 MB / 426.7 MB Notification: Performance of Templates: time 0.002717/0.3563, allocations: 1.053 MB / 0.6058 GB, free: 13.5 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches