Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 113.5 kB / 16.4 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 196.8 kB / 17.34 MB, free: 5.844 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.538/1.538, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2333/0.2333, allocations: 43.52 MB / 314.1 MB, free: 464 kB / 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.001335/0.001335, allocations: 69.47 kB / 441.9 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1436, allocations: 57.79 MB / 499.7 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.0036/0.1473, allocations: 1.708 MB / 0.4896 GB, free: 10.01 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1488, allocations: 0.8194 MB / 0.4904 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.1489, allocations: 4 kB / 0.4904 GB, free: 9.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004597/0.1494, allocations: 103.7 kB / 0.4905 GB, free: 9.078 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1497, allocations: 87.7 kB / 0.4906 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003033/0.15, allocations: 95.69 kB / 0.4907 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.1503, allocations: 123.7 kB / 0.4908 GB, free: 8.777 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1504, allocations: 15.97 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.1506, allocations: 51.83 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.1507, allocations: 67.75 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.445e-05/0.1507, allocations: 4 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1509, allocations: 51.97 kB / 0.491 GB, free: 8.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.1509, allocations: 31.91 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.425e-05/0.151, allocations: 47.67 kB / 0.4911 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.1513, allocations: 147.3 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1513, allocations: 0 / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1513, allocations: 0 / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.1513, allocations: 0 / 0.4912 GB, free: 8.367 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007273/0.1521, allocations: 442.5 kB / 0.4916 GB, free: 7.887 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.1521, allocations: 11.89 kB / 0.4916 GB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.669e-05/0.1522, allocations: 20.84 kB / 0.4917 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.1525, allocations: 227.9 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1525, allocations: 12.25 kB / 0.4919 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.1526, allocations: 8.125 kB / 0.4919 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002052/0.1528, allocations: 65.66 kB / 0.492 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.1528, allocations: 4 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.1528, allocations: 0 / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1528, allocations: 0 / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.1529, allocations: 31.97 kB / 0.492 GB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1534, allocations: 320.7 kB / 0.4923 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.1536, allocations: 70.73 kB / 0.4924 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.687e-05/0.1537, allocations: 28.83 kB / 0.4924 GB, free: 6.996 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.54e-05/0.1537, allocations: 4.031 kB / 0.4924 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.1539, allocations: 83.38 kB / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.1539, allocations: 0 / 0.4925 GB, free: 6.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006247/0.1545, allocations: 229.2 kB / 0.4927 GB, free: 6.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.1546, allocations: 55.39 kB / 0.4927 GB, free: 6.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1548, allocations: 250.4 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.1548, allocations: 29.7 kB / 0.493 GB, free: 6.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1549, allocations: 112.1 kB / 0.4931 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.649e-05/0.155, allocations: 39.69 kB / 0.4932 GB, free: 6.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.155, allocations: 33.7 kB / 0.4932 GB, free: 6.113 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1551, allocations: 322.8 kB / 0.4935 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.695e-05/0.1552, allocations: 31.98 kB / 0.4935 GB, free: 5.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.1553, allocations: 53.64 kB / 0.4936 GB, free: 5.699 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1555, allocations: 89.69 kB / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1555, allocations: 0 / 0.4937 GB, free: 5.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002107/0.1557, allocations: 133.5 kB / 0.4938 GB, free: 5.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.1557, allocations: 4 kB / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1557, allocations: 0 / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1557, allocations: 0 / 0.4938 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1559, allocations: 23.98 kB / 0.4938 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.1559, allocations: 3.938 kB / 0.4938 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.525e-05/0.1559, allocations: 8 kB / 0.4938 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1559, allocations: 8 kB / 0.4938 GB, free: 5.422 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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001231/0.1561, allocations: 141.7 kB / 0.494 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.1561, allocations: 19.84 kB / 0.494 GB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.436e-05/0.1562, allocations: 25.39 kB / 0.494 GB, free: 5.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1562, allocations: 4 kB / 0.494 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.1562, allocations: 3.938 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1562, allocations: 0 / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004999/0.1567, allocations: 447.3 kB / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1567, allocations: 0 / 0.4945 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.496e-05/0.1568, allocations: 19.92 kB / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1568, allocations: 0 / 0.4945 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.1568, allocations: 4 kB / 0.4945 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1568, allocations: 3.938 kB / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1568, allocations: 0 / 0.4945 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.1571, allocations: 232.3 kB / 0.4947 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1572, allocations: 96.95 kB / 0.4948 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1572, allocations: 7.984 kB / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.137e-05/0.1573, allocations: 96 / 0.4948 GB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.1574, allocations: 23.86 kB / 0.4948 GB, free: 4.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.1574, allocations: 4 kB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.1576, allocations: 188.2 kB / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1576, allocations: 0 / 0.495 GB, free: 4.117 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1578, allocations: 31.92 kB / 0.495 GB, free: 4.086 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001188/0.159, allocations: 460.4 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1593, allocations: 83.91 kB / 0.4956 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.1593, allocations: 8 kB / 0.4956 GB, free: 3.586 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.1594, allocations: 43.92 kB / 0.4956 GB, free: 3.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.1598, allocations: 31.78 kB / 0.4956 GB, free: 3.512 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.1603, allocations: 295.4 kB / 0.4959 GB, free: 3.191 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003256/0.1607, allocations: 0.7201 MB / 0.4966 GB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.145e-05/0.1607, allocations: 25.12 kB / 0.4966 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.1608, allocations: 19.44 kB / 0.4967 GB, free: 2.402 MB / 382.1 MB Notification: Performance of SimCode: time 2e-07/0.1608, allocations: 0 / 0.4967 GB, free: 2.402 MB / 382.1 MB Notification: Performance of Templates: time 0.005322/0.1661, allocations: 1.926 MB / 0.4985 GB, free: 496 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches