Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,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.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,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.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001479/0.001479, allocations: 182.5 kB / 15.76 MB, free: 6.363 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.692/1.692, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008475/0.0008474, allocations: 98.83 kB / 270.2 MB, free: 13.37 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.2134/0.2134, allocations: 43.55 MB / 362 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005053/0.0005054, allocations: 12 kB / 431.4 MB, free: 19.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1459, allocations: 58.86 MB / 490.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4259/0.5718, allocations: 87.67 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5721, allocations: 77.83 kB / 0.5645 GB, free: 12.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01523/0.5874, allocations: 5.405 MB / 0.5697 GB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.5874, allocations: 0 / 0.5697 GB, free: 7.508 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/0.5875, allocations: 0 / 0.5697 GB, free: 7.508 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.000648/0.5881, allocations: 433.7 kB / 0.5701 GB, free: 7.043 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.546e-05/0.5882, allocations: 8.031 kB / 0.5702 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.181e-05/0.5883, allocations: 11.91 kB / 0.5702 GB, free: 7.023 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003462/0.5886, allocations: 229.8 kB / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.5886, allocations: 0 / 0.5704 GB, free: 6.77 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.5887, allocations: 4 kB / 0.5704 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.5888, allocations: 51.73 kB / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5889, allocations: 0 / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.672e-05/0.5889, allocations: 3.438 kB / 0.5704 GB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5889, allocations: 3.938 kB / 0.5704 GB, free: 6.711 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.858e-05/0.589, allocations: 23.61 kB / 0.5705 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.5894, allocations: 301.6 kB / 0.5708 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.5896, allocations: 60.17 kB / 0.5708 GB, free: 6.312 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.5897, allocations: 3.938 kB / 0.5708 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.5898, allocations: 71.7 kB / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.5898, allocations: 0 / 0.5709 GB, free: 6.234 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005841/0.5904, allocations: 180 kB / 0.5711 GB, free: 6.086 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.5905, allocations: 55.36 kB / 0.5711 GB, free: 6.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.5907, allocations: 191.4 kB / 0.5713 GB, free: 5.848 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.5907, allocations: 32.94 kB / 0.5713 GB, free: 5.812 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.742e-05/0.5908, allocations: 108.2 kB / 0.5714 GB, free: 5.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5908, allocations: 21.77 kB / 0.5714 GB, free: 5.699 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.588e-06/0.5908, allocations: 4 kB / 0.5714 GB, free: 5.695 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.591, allocations: 329.2 kB / 0.5718 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.919e-05/0.591, allocations: 18.48 kB / 0.5718 GB, free: 5.359 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7e-05/0.5911, allocations: 42.77 kB / 0.5718 GB, free: 5.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.561e-05/0.5912, allocations: 29.05 kB / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.5912, allocations: 0 / 0.5718 GB, free: 5.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001787/0.5914, allocations: 99.27 kB / 0.5719 GB, free: 5.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.5914, allocations: 10.69 kB / 0.572 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5914, allocations: 0 / 0.572 GB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5914, allocations: 4 kB / 0.572 GB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.5915, allocations: 19.92 kB / 0.572 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.5916, allocations: 0 / 0.572 GB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.289e-05/0.5916, allocations: 11.2 kB / 0.572 GB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.5916, allocations: 0 / 0.572 GB, free: 5.176 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.0001232/0.5918, allocations: 133 kB / 0.5721 GB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.552e-05/0.5918, allocations: 19.8 kB / 0.5721 GB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.5921, allocations: 124 kB / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.5921, allocations: 0 / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5921, allocations: 0 / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.5921, allocations: 0 / 0.5722 GB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005524/0.5927, allocations: 419.6 kB / 0.5727 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.5927, allocations: 4 kB / 0.5727 GB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.793e-05/0.5927, allocations: 8 kB / 0.5727 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.5927, allocations: 4.031 kB / 0.5727 GB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5928, allocations: 11.92 kB / 0.5727 GB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.5928, allocations: 3.953 kB / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5928, allocations: 0 / 0.5727 GB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.5931, allocations: 220.5 kB / 0.5729 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.67e-05/0.5931, allocations: 96.12 kB / 0.573 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.749e-05/0.5932, allocations: 8.703 kB / 0.573 GB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.273e-05/0.5933, allocations: 4 kB / 0.573 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.5933, allocations: 15.42 kB / 0.573 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.156e-05/0.5933, allocations: 8 kB / 0.573 GB, free: 4.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001484/0.5935, allocations: 159 kB / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5935, allocations: 0 / 0.5732 GB, free: 3.961 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002784/0.5938, allocations: 35.98 kB / 0.5732 GB, free: 3.93 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.00112/0.5949, allocations: 476.1 kB / 0.5737 GB, free: 3.523 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00021/0.5951, allocations: 62.84 kB / 0.5737 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5951, allocations: 0 / 0.5737 GB, free: 3.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.5952, allocations: 39.3 kB / 0.5738 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.5955, allocations: 21.61 kB / 0.5738 GB, free: 3.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004984/0.596, allocations: 278.2 kB / 0.574 GB, free: 3.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.5964, allocations: 0.7137 MB / 0.5747 GB, free: 2.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.977e-05/0.5964, allocations: 13.06 kB / 0.5747 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.446e-05/0.5965, allocations: 20.42 kB / 0.5748 GB, free: 2.379 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.5965, allocations: 0 / 0.5748 GB, free: 2.379 MB / 378.7 MB Notification: Performance of Templates: time 0.004219/0.6007, allocations: 1.718 MB / 0.5764 GB, free: 0.6758 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches