Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001166/0.001165, allocations: 183.9 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.696/1.696, 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.0008813/0.0008815, allocations: 98.84 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.2142/0.2142, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 15.98 kB / 431.4 MB, free: 19.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1339, allocations: 58.85 MB / 490.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5657, allocations: 87.7 MB / 0.5644 GB, free: 12.18 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002848/0.5661, allocations: 73.19 kB / 0.5645 GB, free: 12.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.5844, allocations: 5.693 MB / 0.57 GB, free: 7.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.406e-06/0.5844, allocations: 0 / 0.57 GB, free: 7.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.854e-05/0.5845, allocations: 0 / 0.57 GB, free: 7.305 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.0007943/0.5853, allocations: 448.1 kB / 0.5705 GB, free: 6.828 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.04e-05/0.5853, allocations: 12.02 kB / 0.5705 GB, free: 6.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/0.5854, allocations: 11.91 kB / 0.5705 GB, free: 6.805 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.5859, allocations: 225.7 kB / 0.5707 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.5859, allocations: 4 kB / 0.5707 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.586, allocations: 3.188 kB / 0.5707 GB, free: 6.547 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002082/0.5862, allocations: 52.36 kB / 0.5708 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5862, allocations: 0 / 0.5708 GB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.5863, allocations: 7.984 kB / 0.5708 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.5863, allocations: 0 / 0.5708 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5864, allocations: 26.23 kB / 0.5708 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005914/0.587, allocations: 311.7 kB / 0.5711 GB, free: 6.137 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002369/0.5873, allocations: 62.92 kB / 0.5712 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.953e-05/0.5873, allocations: 0 / 0.5712 GB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002564/0.5876, allocations: 70.2 kB / 0.5712 GB, free: 6.004 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.023e-06/0.5876, allocations: 0 / 0.5712 GB, free: 6.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008219/0.5884, allocations: 189.6 kB / 0.5714 GB, free: 5.848 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.155e-05/0.5885, allocations: 55.36 kB / 0.5715 GB, free: 5.781 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003919/0.5889, allocations: 240.2 kB / 0.5717 GB, free: 5.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.5889, allocations: 25.7 kB / 0.5717 GB, free: 5.539 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.589e-05/0.589, allocations: 112.9 kB / 0.5718 GB, free: 5.445 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.5891, allocations: 27.39 kB / 0.5718 GB, free: 5.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.5891, allocations: 0 / 0.5718 GB, free: 5.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5893, allocations: 329.8 kB / 0.5722 GB, free: 5.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.18e-05/0.5894, allocations: 30.98 kB / 0.5722 GB, free: 5.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.26e-05/0.5895, allocations: 33.33 kB / 0.5722 GB, free: 5.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.5896, allocations: 31.06 kB / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.5896, allocations: 0 / 0.5722 GB, free: 5.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002779/0.5899, allocations: 107.1 kB / 0.5724 GB, free: 4.93 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5899, allocations: 7.438 kB / 0.5724 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5899, allocations: 0 / 0.5724 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.59, allocations: 4.031 kB / 0.5724 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5901, allocations: 16.38 kB / 0.5724 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.5901, allocations: 0 / 0.5724 GB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.5902, allocations: 15.94 kB / 0.5724 GB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.5902, allocations: 7.875 kB / 0.5724 GB, free: 4.887 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.0001519/0.5904, allocations: 136.6 kB / 0.5725 GB, free: 4.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.5904, allocations: 15.81 kB / 0.5725 GB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003629/0.5908, allocations: 128 kB / 0.5727 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.5908, allocations: 0 / 0.5727 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.5908, allocations: 0 / 0.5727 GB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.5908, allocations: 3.984 kB / 0.5727 GB, free: 4.621 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007877/0.5916, allocations: 437.3 kB / 0.5731 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.5917, allocations: 0 / 0.5731 GB, free: 4.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.669e-05/0.5917, allocations: 12.61 kB / 0.5731 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5917, allocations: 0 / 0.5731 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5918, allocations: 9.156 kB / 0.5731 GB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.5918, allocations: 3.953 kB / 0.5731 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.5918, allocations: 3.938 kB / 0.5731 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.5922, allocations: 220.8 kB / 0.5733 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/0.5923, allocations: 104.3 kB / 0.5734 GB, free: 3.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/0.5924, allocations: 8.047 kB / 0.5734 GB, free: 3.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5925, allocations: 10.75 kB / 0.5734 GB, free: 3.801 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.5926, allocations: 7.984 kB / 0.5735 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.5926, allocations: 4 kB / 0.5735 GB, free: 3.789 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002945/0.5929, allocations: 204 kB / 0.5737 GB, free: 3.625 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5929, allocations: 0 / 0.5737 GB, free: 3.625 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004399/0.5934, allocations: 34.44 kB / 0.5737 GB, free: 3.594 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.00158/0.595, allocations: 480.1 kB / 0.5741 GB, free: 3.184 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002505/0.5952, allocations: 59.92 kB / 0.5742 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.5952, allocations: 0 / 0.5742 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.5954, allocations: 34.56 kB / 0.5742 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003771/0.5957, allocations: 31.03 kB / 0.5743 GB, free: 3.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.5965, allocations: 313.2 kB / 0.5746 GB, free: 2.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.5969, allocations: 0.7234 MB / 0.5753 GB, free: 2.027 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.597, allocations: 16.55 kB / 0.5753 GB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.5971, allocations: 18.69 kB / 0.5753 GB, free: 1.992 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5971, allocations: 0 / 0.5753 GB, free: 1.992 MB / 378.7 MB Notification: Performance of Templates: time 0.006398/0.6035, allocations: 1.824 MB / 0.5771 GB, free: 188 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches