Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009578/0.0009578, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.194/1.194, allocations: 223.2 MB / 241 MB, free: 10.14 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.001121/0.001121, allocations: 104.1 kB / 292.2 MB, free: 10.69 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.2887/0.2887, allocations: 44.21 MB / 387.5 MB, free: 38.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003048/0.0003047, allocations: 8 kB / 459.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3323, allocations: 61.89 MB / 0.5095 GB, free: 37.53 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1095/0.4418, allocations: 88.24 MB / 0.5957 GB, free: 6.914 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002023/0.4421, allocations: 83.92 kB / 0.5958 GB, free: 6.836 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.4523, allocations: 4.454 MB / 0.6002 GB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4524, allocations: 0 / 0.6002 GB, free: 2.387 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.4524, allocations: 4 kB / 0.6002 GB, free: 2.383 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.0003384/0.4527, allocations: 383 kB / 0.6005 GB, free: 1.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4528, allocations: 8.562 kB / 0.6005 GB, free: 1.953 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.4528, allocations: 7.906 kB / 0.6005 GB, free: 1.945 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.453, allocations: 190.9 kB / 0.6007 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.453, allocations: 0 / 0.6007 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.4531, allocations: 8 kB / 0.6007 GB, free: 1.711 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.4532, allocations: 59.36 kB / 0.6008 GB, free: 1.641 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.4532, allocations: 4 kB / 0.6008 GB, free: 1.637 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4532, allocations: 11.88 kB / 0.6008 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4532, allocations: 0 / 0.6008 GB, free: 1.625 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.98e-05/0.4533, allocations: 35.91 kB / 0.6008 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002958/0.4536, allocations: 264.9 kB / 0.6011 GB, free: 1.281 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.4538, allocations: 54.55 kB / 0.6011 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4538, allocations: 0 / 0.6011 GB, free: 1.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.4539, allocations: 30.56 kB / 0.6012 GB, free: 1.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.4539, allocations: 3.938 kB / 0.6012 GB, free: 1.176 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000503/0.4544, allocations: 149.8 kB / 0.6013 GB, free: 1.023 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.903e-05/0.4544, allocations: 77.11 kB / 0.6014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.4546, allocations: 134 kB / 0.6015 GB, free: 0.793 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.4546, allocations: 25.7 kB / 0.6015 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.501e-05/0.4546, allocations: 96.12 kB / 0.6016 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.4546, allocations: 15.75 kB / 0.6016 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.4547, allocations: 0 / 0.6016 GB, free: 0.6484 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.335e-05/0.4548, allocations: 322.8 kB / 0.602 GB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.742e-05/0.4548, allocations: 19.98 kB / 0.602 GB, free: 312 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.567e-05/0.4549, allocations: 37.7 kB / 0.602 GB, free: 268 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.669e-05/0.455, allocations: 23.98 kB / 0.602 GB, free: 244 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.455, allocations: 3.953 kB / 0.602 GB, free: 240 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000163/0.4551, allocations: 85.61 kB / 0.6021 GB, free: 148 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4552, allocations: 8 kB / 0.6021 GB, free: 140 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.4552, allocations: 3.984 kB / 0.6021 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.4552, allocations: 0 / 0.6021 GB, free: 136 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.571e-05/0.4553, allocations: 23.92 kB / 0.6022 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.4553, allocations: 0 / 0.6022 GB, free: 112 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.917e-05/0.4553, allocations: 4 kB / 0.6022 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.4553, allocations: 7.984 kB / 0.6022 GB, free: 100 kB / 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 8.207e-05/0.4554, allocations: 117.8 kB / 0.6023 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.4555, allocations: 7.859 kB / 0.6023 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002437/0.4557, allocations: 93.62 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4557, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.4557, allocations: 0 / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4557, allocations: 4 kB / 0.6024 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003661/0.4561, allocations: 358.8 kB / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.4561, allocations: 3.938 kB / 0.6027 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.714e-05/0.4562, allocations: 16 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4562, allocations: 0 / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4562, allocations: 4 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4562, allocations: 3.984 kB / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.4562, allocations: 0 / 0.6027 GB, free: 15.43 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001909/0.4564, allocations: 187.3 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.294e-05/0.4565, allocations: 93.03 kB / 0.603 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.4565, allocations: 4 kB / 0.603 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.627e-05/0.4566, allocations: 4 kB / 0.603 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.4566, allocations: 7.984 kB / 0.603 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.4566, allocations: 0 / 0.603 GB, free: 15.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.883e-05/0.4567, allocations: 106.9 kB / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4567, allocations: 0 / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.4569, allocations: 31.91 kB / 0.6032 GB, free: 14.97 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.0008943/0.4578, allocations: 459 kB / 0.6036 GB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.458, allocations: 59.91 kB / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.458, allocations: 0 / 0.6037 GB, free: 14.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.4581, allocations: 31.97 kB / 0.6037 GB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001763/0.4583, allocations: 7.953 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.4586, allocations: 172.8 kB / 0.6039 GB, free: 14.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.4589, allocations: 0.6887 MB / 0.6045 GB, free: 13.68 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.297e-05/0.4589, allocations: 12.17 kB / 0.6045 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.459, allocations: 11.44 kB / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.459, allocations: 0 / 0.6046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of Templates: time 0.003307/0.4623, allocations: 1.276 MB / 0.6058 GB, free: 12.39 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches