Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002259/0.002259, allocations: 183.6 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.744/1.744, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 90.86 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.225/0.225, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003306/0.0003306, allocations: 8 kB / 431.4 MB, free: 19.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1448, allocations: 58.86 MB / 490.3 MB, free: 8.652 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4447/0.5896, allocations: 87.71 MB / 0.5644 GB, free: 12.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5899, allocations: 72.41 kB / 0.5645 GB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01488/0.6048, allocations: 5.372 MB / 0.5697 GB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.6049, allocations: 4 kB / 0.5697 GB, free: 7.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.171e-05/0.6049, allocations: 0 / 0.5697 GB, free: 7.473 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005741/0.6055, allocations: 423.9 kB / 0.5701 GB, free: 7.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.6055, allocations: 11.97 kB / 0.5702 GB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.139e-05/0.6056, allocations: 7.906 kB / 0.5702 GB, free: 7 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.6059, allocations: 213.7 kB / 0.5704 GB, free: 6.758 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.6059, allocations: 7.609 kB / 0.5704 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.606, allocations: 4 kB / 0.5704 GB, free: 6.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6061, allocations: 53.23 kB / 0.5704 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.6061, allocations: 0 / 0.5704 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.6062, allocations: 0 / 0.5704 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6062, allocations: 8 kB / 0.5704 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.604e-05/0.6063, allocations: 27.59 kB / 0.5705 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004117/0.6067, allocations: 291.9 kB / 0.5707 GB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001768/0.6069, allocations: 56.73 kB / 0.5708 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.832e-05/0.6069, allocations: 0 / 0.5708 GB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.6071, allocations: 81.39 kB / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.6071, allocations: 0 / 0.5709 GB, free: 6.219 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006338/0.6077, allocations: 178.3 kB / 0.571 GB, free: 6.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.6078, allocations: 55.36 kB / 0.5711 GB, free: 6.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.6079, allocations: 175.8 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.608, allocations: 29.45 kB / 0.5713 GB, free: 5.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.107e-05/0.608, allocations: 103 kB / 0.5714 GB, free: 5.723 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.6081, allocations: 27.2 kB / 0.5714 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6081, allocations: 0 / 0.5714 GB, free: 5.699 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.6082, allocations: 325.9 kB / 0.5717 GB, free: 5.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.207e-05/0.6083, allocations: 19.23 kB / 0.5717 GB, free: 5.367 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.206e-05/0.6084, allocations: 36.95 kB / 0.5718 GB, free: 5.332 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.18e-05/0.6084, allocations: 22.75 kB / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.6084, allocations: 4 kB / 0.5718 GB, free: 5.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.6086, allocations: 111.3 kB / 0.5719 GB, free: 5.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.6087, allocations: 6.656 kB / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6087, allocations: 0 / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.6087, allocations: 0 / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.336e-05/0.6088, allocations: 19.98 kB / 0.5719 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.6088, allocations: 0 / 0.5719 GB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.823e-05/0.6088, allocations: 7.953 kB / 0.5719 GB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.6089, allocations: 3.688 kB / 0.572 GB, free: 5.188 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001123/0.609, allocations: 137.3 kB / 0.5721 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.049e-05/0.609, allocations: 7.906 kB / 0.5721 GB, free: 5.039 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.6093, allocations: 123.2 kB / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.6093, allocations: 0 / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6093, allocations: 384 / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.6093, allocations: 0 / 0.5722 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004823/0.6098, allocations: 417.5 kB / 0.5726 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6098, allocations: 4 kB / 0.5726 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/0.6099, allocations: 19.67 kB / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.6099, allocations: 0 / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.6099, allocations: 0 / 0.5726 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.6099, allocations: 7.953 kB / 0.5726 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6099, allocations: 0 / 0.5726 GB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.6101, allocations: 218.4 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.134e-05/0.6102, allocations: 100.5 kB / 0.5729 GB, free: 4.145 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/0.6103, allocations: 7.953 kB / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.039e-05/0.6103, allocations: 0 / 0.5729 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.6104, allocations: 15.47 kB / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.6104, allocations: 4 kB / 0.573 GB, free: 4.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.6105, allocations: 145 kB / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6105, allocations: 0 / 0.5731 GB, free: 3.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000263/0.6108, allocations: 35.81 kB / 0.5731 GB, free: 3.965 MB / 378.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001082/0.6119, allocations: 474.5 kB / 0.5736 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.6121, allocations: 66.66 kB / 0.5737 GB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6121, allocations: 3.938 kB / 0.5737 GB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.6122, allocations: 32.05 kB / 0.5737 GB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.6125, allocations: 24.59 kB / 0.5737 GB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004769/0.613, allocations: 243.4 kB / 0.5739 GB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003016/0.6133, allocations: 0.7082 MB / 0.5746 GB, free: 2.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.6134, allocations: 16.53 kB / 0.5747 GB, free: 2.453 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.6134, allocations: 15.44 kB / 0.5747 GB, free: 2.438 MB / 378.7 MB Notification: Performance of SimCode: time 4.01e-07/0.6134, allocations: 4 kB / 0.5747 GB, free: 2.434 MB / 378.7 MB Notification: Performance of Templates: time 0.004367/0.6178, allocations: 1.683 MB / 0.5763 GB, free: 0.7695 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches