Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007868/0.000787, allocations: 178.5 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 242.1 MB, free: 9.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007391/0.0007392, allocations: 103.7 kB / 293.3 MB, free: 10.52 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3581/0.3581, allocations: 44.15 MB / 388.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004189, allocations: 12 kB / 461.1 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3849/0.3854, allocations: 61.89 MB / 0.5107 GB, free: 37.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.5116, allocations: 89.08 MB / 0.5977 GB, free: 5.988 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.512, allocations: 83.95 kB / 0.5978 GB, free: 5.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0144/0.5264, allocations: 5.478 MB / 0.6032 GB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.5264, allocations: 0 / 0.6032 GB, free: 440 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.53e-05/0.5264, allocations: 0 / 0.6032 GB, free: 440 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005713/0.527, allocations: 415 kB / 0.6036 GB, free: 15.97 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.5271, allocations: 8.031 kB / 0.6036 GB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.902e-05/0.5271, allocations: 16.75 kB / 0.6036 GB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003188/0.5275, allocations: 214.3 kB / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.5275, allocations: 4.375 kB / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.5275, allocations: 384 / 0.6038 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.5277, allocations: 58.17 kB / 0.6038 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5277, allocations: 192 / 0.6038 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.5277, allocations: 3.938 kB / 0.6039 GB, free: 15.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.228e-06/0.5277, allocations: 7.922 kB / 0.6039 GB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.187e-05/0.5278, allocations: 19.98 kB / 0.6039 GB, free: 15.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.528, allocations: 185.7 kB / 0.6041 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.5282, allocations: 58.62 kB / 0.6041 GB, free: 15.31 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.811e-05/0.5283, allocations: 20.84 kB / 0.6041 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.283e-05/0.5283, allocations: 3.938 kB / 0.6041 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.5284, allocations: 67.23 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.5284, allocations: 4 kB / 0.6042 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003157/0.5288, allocations: 105.5 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.5288, allocations: 55.41 kB / 0.6044 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002078/0.529, allocations: 206.3 kB / 0.6046 GB, free: 14.81 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.5291, allocations: 29.64 kB / 0.6046 GB, free: 14.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.909e-05/0.5291, allocations: 104.1 kB / 0.6047 GB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.626e-05/0.5292, allocations: 19.75 kB / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.5292, allocations: 0 / 0.6047 GB, free: 14.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.5293, allocations: 322.8 kB / 0.605 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.5293, allocations: 19.98 kB / 0.605 GB, free: 14.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.406e-05/0.5294, allocations: 29.72 kB / 0.6051 GB, free: 14.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.5295, allocations: 41.7 kB / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.5295, allocations: 0 / 0.6051 GB, free: 14.22 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001632/0.5297, allocations: 85.52 kB / 0.6052 GB, free: 14.13 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.5297, allocations: 7.938 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5297, allocations: 8.031 kB / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5298, allocations: 320 / 0.6052 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.5298, allocations: 8 kB / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.5298, allocations: 0 / 0.6052 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.64e-05/0.5299, allocations: 15.98 kB / 0.6052 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.5299, allocations: 4 kB / 0.6052 GB, free: 14.09 MB / 426.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 (7): * Single equations (assignments): 7 * 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.609e-05/0.53, allocations: 123.9 kB / 0.6053 GB, free: 13.96 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.781e-05/0.5301, allocations: 23.73 kB / 0.6054 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.5303, allocations: 98.81 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.5303, allocations: 4 kB / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5303, allocations: 0 / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5303, allocations: 0 / 0.6055 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.5305, allocations: 193.6 kB / 0.6056 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5305, allocations: 0 / 0.6056 GB, free: 13.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.5305, allocations: 7.938 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5305, allocations: 3.938 kB / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.5305, allocations: 0 / 0.6057 GB, free: 13.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5305, allocations: 3.938 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.5306, allocations: 4 kB / 0.6057 GB, free: 13.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.5307, allocations: 116.9 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.5308, allocations: 93 kB / 0.6059 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.597e-05/0.5309, allocations: 7.938 kB / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.791e-05/0.5309, allocations: 0 / 0.6059 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.5309, allocations: 11.98 kB / 0.6059 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.531, allocations: 0 / 0.6059 GB, free: 13.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001361/0.5311, allocations: 159.2 kB / 0.606 GB, free: 13.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5311, allocations: 7.938 kB / 0.606 GB, free: 13.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002175/0.5313, allocations: 27.92 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0009625/0.5323, allocations: 422 kB / 0.6065 GB, free: 12.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002046/0.5325, allocations: 43.92 kB / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5325, allocations: 0 / 0.6065 GB, free: 12.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.718e-05/0.5326, allocations: 27.92 kB / 0.6065 GB, free: 12.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002875/0.5329, allocations: 26.92 kB / 0.6066 GB, free: 12.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005855/0.5335, allocations: 241.2 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.5339, allocations: 0.7121 MB / 0.6075 GB, free: 11.77 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 6.916e-05/0.534, allocations: 10.83 kB / 0.6075 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.104e-05/0.534, allocations: 15.44 kB / 0.6075 GB, free: 11.74 MB / 426.7 MB Notification: Performance of SimCode: time 8.41e-07/0.534, allocations: 0 / 0.6075 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Templates: time 0.004925/0.5389, allocations: 1.536 MB / 0.609 GB, free: 10.22 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches