Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_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|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 179.2 kB / 18.09 MB, free: 3.754 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.249/1.249, allocations: 223.3 MB / 242.1 MB, free: 9.961 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.0007248/0.000725, allocations: 88.19 kB / 293.3 MB, free: 10.58 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.2923/0.2923, allocations: 44.16 MB / 388.5 MB, free: 38.63 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003208/0.0003208, allocations: 20 kB / 461.1 MB, free: 1.551 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3005, allocations: 61.88 MB / 0.5107 GB, free: 37.75 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1071/0.4076, allocations: 89.42 MB / 0.5981 GB, free: 5.68 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/0.4079, allocations: 75.95 kB / 0.5981 GB, free: 5.609 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01603/0.424, allocations: 6.39 MB / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.424, allocations: 0 / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.424, allocations: 0 / 0.6044 GB, free: 15.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005232/0.4245, allocations: 454.8 kB / 0.6048 GB, free: 14.72 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4246, allocations: 12.02 kB / 0.6048 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.4247, allocations: 20.75 kB / 0.6048 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.425, allocations: 231.8 kB / 0.6051 GB, free: 14.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.566e-05/0.425, allocations: 4.375 kB / 0.6051 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.809e-05/0.425, allocations: 12.36 kB / 0.6051 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.4252, allocations: 74.16 kB / 0.6052 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.4252, allocations: 192 / 0.6052 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.4252, allocations: 7.922 kB / 0.6052 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.4252, allocations: 4 kB / 0.6052 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.4253, allocations: 39.97 kB / 0.6052 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.4258, allocations: 356.5 kB / 0.6055 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.4261, allocations: 78.48 kB / 0.6056 GB, free: 13.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.62e-05/0.4261, allocations: 32.84 kB / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.098e-05/0.4262, allocations: 0 / 0.6056 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.4263, allocations: 87.56 kB / 0.6057 GB, free: 13.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.4263, allocations: 0 / 0.6057 GB, free: 13.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008069/0.4272, allocations: 308.9 kB / 0.606 GB, free: 13.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.441e-05/0.4272, allocations: 59.34 kB / 0.6061 GB, free: 13.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002418/0.4275, allocations: 243.2 kB / 0.6063 GB, free: 13.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.4275, allocations: 29.7 kB / 0.6063 GB, free: 13 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.4276, allocations: 120.1 kB / 0.6065 GB, free: 12.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.4276, allocations: 43.36 kB / 0.6065 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.213e-06/0.4276, allocations: 4 kB / 0.6065 GB, free: 12.83 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.4278, allocations: 334.8 kB / 0.6068 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.99e-05/0.4278, allocations: 39.98 kB / 0.6069 GB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.233e-05/0.4279, allocations: 57.69 kB / 0.6069 GB, free: 12.39 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.4281, allocations: 111.2 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4281, allocations: 3.938 kB / 0.607 GB, free: 12.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002566/0.4284, allocations: 157.4 kB / 0.6072 GB, free: 12.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4284, allocations: 8.844 kB / 0.6072 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.4284, allocations: 0 / 0.6072 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4284, allocations: 0 / 0.6072 GB, free: 12.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.157e-05/0.4285, allocations: 27.92 kB / 0.6072 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4286, allocations: 7.984 kB / 0.6072 GB, free: 12.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.216e-05/0.4286, allocations: 11.94 kB / 0.6072 GB, free: 12.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/0.4286, allocations: 8.031 kB / 0.6072 GB, free: 12.05 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 (16): * Single equations (assignments): 16 * 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.0001024/0.4287, allocations: 130.4 kB / 0.6074 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.402e-05/0.4288, allocations: 15.81 kB / 0.6074 GB, free: 11.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003485/0.4291, allocations: 205.1 kB / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4291, allocations: 0 / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4291, allocations: 0 / 0.6076 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.4292, allocations: 3.938 kB / 0.6076 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006167/0.4298, allocations: 0.5422 MB / 0.6081 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.4298, allocations: 0 / 0.6081 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.316e-05/0.4299, allocations: 31.86 kB / 0.6081 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4299, allocations: 0 / 0.6081 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4299, allocations: 4 kB / 0.6081 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4299, allocations: 0 / 0.6081 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.4299, allocations: 0 / 0.6081 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.4302, allocations: 277 kB / 0.6084 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.4303, allocations: 108.8 kB / 0.6085 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.4304, allocations: 8 kB / 0.6085 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.4304, allocations: 4 kB / 0.6085 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.4305, allocations: 11.98 kB / 0.6085 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.4305, allocations: 12 kB / 0.6085 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001566/0.4307, allocations: 186 kB / 0.6087 GB, free: 10.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4307, allocations: 4 kB / 0.6087 GB, free: 10.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.431, allocations: 43.94 kB / 0.6088 GB, free: 10.38 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009946/0.432, allocations: 0.524 MB / 0.6093 GB, free: 10.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002196/0.4322, allocations: 115.8 kB / 0.6094 GB, free: 9.941 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.4322, allocations: 4 kB / 0.6094 GB, free: 9.938 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.4323, allocations: 59.92 kB / 0.6094 GB, free: 9.879 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.4326, allocations: 31.91 kB / 0.6095 GB, free: 9.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005374/0.4332, allocations: 379.9 kB / 0.6098 GB, free: 9.445 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4335, allocations: 0.7321 MB / 0.6106 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.4335, allocations: 25.41 kB / 0.6106 GB, free: 8.664 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.94e-05/0.4336, allocations: 23.44 kB / 0.6106 GB, free: 8.641 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4336, allocations: 0 / 0.6106 GB, free: 8.641 MB / 426.7 MB Notification: Performance of Templates: time 0.00459/0.4382, allocations: 2.252 MB / 0.6128 GB, free: 6.418 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches