Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001025, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.777/1.777, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0008602/0.0008603, allocations: 99.83 kB / 271.3 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4407/0.4407, allocations: 43.56 MB / 363.1 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003854/0.0003856, allocations: 16 kB / 432.6 MB, free: 4.969 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1346, allocations: 58.85 MB / 491.5 MB, free: 10.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3616/0.4963, allocations: 87.76 MB / 0.5657 GB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.4966, allocations: 79.95 kB / 0.5657 GB, free: 14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.5113, allocations: 5.451 MB / 0.5711 GB, free: 8.594 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5113, allocations: 4 kB / 0.5711 GB, free: 8.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.679e-05/0.5113, allocations: 11.19 kB / 0.5711 GB, free: 8.582 MB / 394.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.0005018/0.5118, allocations: 418 kB / 0.5715 GB, free: 8.125 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.5119, allocations: 8.031 kB / 0.5715 GB, free: 8.117 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.741e-05/0.5119, allocations: 16.69 kB / 0.5715 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002802/0.5122, allocations: 220.8 kB / 0.5717 GB, free: 7.844 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.5123, allocations: 4.375 kB / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.5123, allocations: 384 / 0.5717 GB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.5124, allocations: 59.05 kB / 0.5718 GB, free: 7.777 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.5125, allocations: 4.188 kB / 0.5718 GB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.5125, allocations: 3.938 kB / 0.5718 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.5125, allocations: 0 / 0.5718 GB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.468e-05/0.5126, allocations: 27.97 kB / 0.5718 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.5129, allocations: 292.9 kB / 0.5721 GB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.5131, allocations: 62.62 kB / 0.5721 GB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.555e-05/0.5132, allocations: 24.84 kB / 0.5722 GB, free: 7.309 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.5132, allocations: 3.938 kB / 0.5722 GB, free: 7.305 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.5133, allocations: 71.23 kB / 0.5722 GB, free: 7.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 1.412e-06/0.5134, allocations: 4 kB / 0.5722 GB, free: 7.219 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005385/0.5139, allocations: 189.1 kB / 0.5724 GB, free: 7.027 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.514, allocations: 51.41 kB / 0.5725 GB, free: 6.965 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002025/0.5142, allocations: 197.7 kB / 0.5727 GB, free: 6.762 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.5142, allocations: 25.7 kB / 0.5727 GB, free: 6.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.109e-05/0.5143, allocations: 104.1 kB / 0.5728 GB, free: 6.625 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.754e-05/0.5143, allocations: 23.66 kB / 0.5728 GB, free: 6.602 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-06/0.5143, allocations: 4 kB / 0.5728 GB, free: 6.598 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5144, allocations: 330.8 kB / 0.5731 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.5145, allocations: 20 kB / 0.5731 GB, free: 6.246 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.5146, allocations: 37.7 kB / 0.5732 GB, free: 6.203 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.5147, allocations: 66.45 kB / 0.5732 GB, free: 6.133 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.5147, allocations: 0 / 0.5732 GB, free: 6.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.5149, allocations: 97.58 kB / 0.5733 GB, free: 6.031 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.5149, allocations: 4 kB / 0.5733 GB, free: 6.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.5149, allocations: 8.031 kB / 0.5734 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.515, allocations: 0 / 0.5734 GB, free: 6.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-05/0.5151, allocations: 19.92 kB / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5151, allocations: 0 / 0.5734 GB, free: 6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.026e-05/0.5151, allocations: 8.75 kB / 0.5734 GB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.5152, allocations: 4 kB / 0.5734 GB, free: 5.988 MB / 394.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 9.861e-05/0.5153, allocations: 125.8 kB / 0.5735 GB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.5153, allocations: 15.81 kB / 0.5735 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.5156, allocations: 131.1 kB / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.5156, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.5156, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.5156, allocations: 0 / 0.5736 GB, free: 5.707 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005115/0.5161, allocations: 419.2 kB / 0.574 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.5161, allocations: 0 / 0.574 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.888e-05/0.5162, allocations: 8 kB / 0.574 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.5162, allocations: 0 / 0.574 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.329e-05/0.5162, allocations: 8.031 kB / 0.5741 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.5162, allocations: 0 / 0.5741 GB, free: 5.223 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.5162, allocations: 8.25 kB / 0.5741 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.5165, allocations: 212.1 kB / 0.5743 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.632e-05/0.5166, allocations: 96.95 kB / 0.5744 GB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.5166, allocations: 3.984 kB / 0.5744 GB, free: 4.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.5167, allocations: 12 kB / 0.5744 GB, free: 4.859 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.5167, allocations: 11.94 kB / 0.5744 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.5167, allocations: 7.984 kB / 0.5744 GB, free: 4.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.5169, allocations: 152.9 kB / 0.5745 GB, free: 4.691 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5169, allocations: 0 / 0.5745 GB, free: 4.691 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002706/0.5172, allocations: 31.94 kB / 0.5746 GB, free: 4.66 MB / 394.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.001087/0.5183, allocations: 473.8 kB / 0.575 GB, free: 4.293 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.5185, allocations: 71.77 kB / 0.5751 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5185, allocations: 0 / 0.5751 GB, free: 4.223 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.65e-05/0.5186, allocations: 36.08 kB / 0.5751 GB, free: 4.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.5189, allocations: 28.25 kB / 0.5752 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000552/0.5195, allocations: 260.3 kB / 0.5754 GB, free: 3.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.5199, allocations: 0.7121 MB / 0.5761 GB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.85e-05/0.52, allocations: 12.55 kB / 0.5761 GB, free: 3.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.682e-05/0.52, allocations: 19.42 kB / 0.5761 GB, free: 3.121 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.52, allocations: 0 / 0.5761 GB, free: 3.121 MB / 394.7 MB Notification: Performance of Templates: time 0.00478/0.5248, allocations: 1.712 MB / 0.5778 GB, free: 1.422 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches