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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009256/0.0009257, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008865/0.0008867, allocations: 177.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.347/1.347, allocations: 205.4 MB / 222.7 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3084/0.3084, allocations: 43.54 MB / 314.5 MB, free: 8.809 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004661, allocations: 16 kB / 383.9 MB, free: 8.012 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1373, allocations: 58.85 MB / 442.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002049/0.1394, allocations: 1.384 MB / 444.1 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.1406, allocations: 0.7267 MB / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.1407, allocations: 0 / 444.9 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002875/0.141, allocations: 79.7 kB / 444.9 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1412, allocations: 71.83 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002109/0.1414, allocations: 63.86 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.1415, allocations: 67.84 kB / 445.1 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.1416, allocations: 20.19 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.178e-05/0.1417, allocations: 47.77 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.819e-05/0.1418, allocations: 43.83 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.1418, allocations: 8 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.395e-05/0.1419, allocations: 27.92 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.87e-05/0.142, allocations: 19.92 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.833e-05/0.142, allocations: 37.7 kB / 445.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.1421, allocations: 88.08 kB / 445.4 MB, free: 10.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1422, allocations: 3.938 kB / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1422, allocations: 0 / 445.4 MB, free: 10.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1422, allocations: 0 / 445.4 MB, free: 10.35 MB / 382.1 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.0004578/0.1426, allocations: 406.8 kB / 445.8 MB, free: 9.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1427, allocations: 16.03 kB / 445.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.401e-05/0.1427, allocations: 15.75 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.1429, allocations: 211.6 kB / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.143, allocations: 0 / 446.1 MB, free: 9.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/0.143, allocations: 4 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.1431, allocations: 57.67 kB / 446.1 MB, free: 9.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1431, allocations: 3.938 kB / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.1432, allocations: 0 / 446.1 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.1432, allocations: 3.953 kB / 446.1 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.617e-05/0.1432, allocations: 19.98 kB / 446.2 MB, free: 9.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.1436, allocations: 289 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1438, allocations: 54.61 kB / 446.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.1438, allocations: 4 kB / 446.5 MB, free: 9.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.144, allocations: 71.47 kB / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.144, allocations: 0 / 446.6 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005016/0.1445, allocations: 181 kB / 446.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1446, allocations: 59.39 kB / 446.8 MB, free: 8.801 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.1447, allocations: 210.3 kB / 447 MB, free: 8.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1448, allocations: 25.7 kB / 447 MB, free: 8.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1448, allocations: 104.1 kB / 447.1 MB, free: 8.449 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1449, allocations: 23.66 kB / 447.2 MB, free: 8.426 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1449, allocations: 4 kB / 447.2 MB, free: 8.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.145, allocations: 326.8 kB / 447.5 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.145e-05/0.1451, allocations: 19.98 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.1451, allocations: 33.7 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.521e-05/0.1452, allocations: 32 kB / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1452, allocations: 0 / 447.6 MB, free: 8.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001555/0.1454, allocations: 97.61 kB / 447.7 MB, free: 7.902 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1454, allocations: 11.95 kB / 447.7 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1454, allocations: 3.938 kB / 447.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.1454, allocations: 4 kB / 447.7 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.1455, allocations: 15.94 kB / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1455, allocations: 0 / 447.7 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.1456, allocations: 15.89 kB / 447.7 MB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.1456, allocations: 0 / 447.7 MB, free: 7.852 MB / 382.1 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 8.536e-05/0.1457, allocations: 125.8 kB / 447.8 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.694e-05/0.1457, allocations: 15.91 kB / 447.8 MB, free: 7.703 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.347e-05/0.1458, allocations: 25.53 kB / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1458, allocations: 0 / 447.9 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1458, allocations: 7.938 kB / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1458, allocations: 0 / 447.9 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.1462, allocations: 399.3 kB / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1462, allocations: 0 / 448.3 MB, free: 7.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/0.1462, allocations: 8.375 kB / 448.3 MB, free: 7.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1462, allocations: 4.031 kB / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.1462, allocations: 0 / 448.3 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.1462, allocations: 8 kB / 448.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1462, allocations: 3.938 kB / 448.3 MB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.1465, allocations: 217.9 kB / 448.5 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1465, allocations: 92.98 kB / 448.6 MB, free: 6.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1465, allocations: 8 kB / 448.6 MB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.905e-05/0.1466, allocations: 4 kB / 448.6 MB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.309e-05/0.1467, allocations: 7.984 kB / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1467, allocations: 0 / 448.6 MB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.1468, allocations: 156.2 kB / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1468, allocations: 0 / 448.8 MB, free: 6.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.1471, allocations: 27.98 kB / 448.8 MB, free: 6.652 MB / 382.1 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 (8): * Single equations (assignments): 6 * 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.0009342/0.148, allocations: 469 kB / 449.3 MB, free: 6.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001541/0.1482, allocations: 55.97 kB / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1482, allocations: 0 / 449.3 MB, free: 6.176 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.614e-05/0.1482, allocations: 36.19 kB / 449.3 MB, free: 6.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/0.1485, allocations: 35.83 kB / 449.4 MB, free: 6.105 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.1489, allocations: 258.1 kB / 449.6 MB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1492, allocations: 0.7121 MB / 450.3 MB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.844e-05/0.1493, allocations: 8.891 kB / 450.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1493, allocations: 19.42 kB / 450.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1493, allocations: 0 / 450.4 MB, free: 5.051 MB / 382.1 MB Notification: Performance of Templates: time 0.004061/0.1534, allocations: 1.592 MB / 452 MB, free: 3.461 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test9.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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