Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001257, allocations: 186.9 kB / 17.97 MB, free: 3.797 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.403/1.403, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001037/0.001037, allocations: 92.06 kB / 291.9 MB, free: 10.93 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.3582/0.3582, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.92 kB / 457.7 MB, free: 2.273 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.41, allocations: 60.8 MB / 0.5064 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.004497/0.4146, allocations: 1.965 MB / 0.5083 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002032/0.4167, allocations: 0.9058 MB / 0.5092 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.4169, allocations: 2.875 kB / 0.5092 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.4173, allocations: 37.92 kB / 0.5092 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.4176, allocations: 50.3 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.418, allocations: 114.9 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002425/0.4182, allocations: 134.1 kB / 0.5095 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.4184, allocations: 23.97 kB / 0.5095 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.4185, allocations: 53.5 kB / 0.5096 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.4187, allocations: 49.17 kB / 0.5096 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.4187, allocations: 4.906 kB / 0.5097 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001168/0.4188, allocations: 43.3 kB / 0.5097 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.264e-05/0.4189, allocations: 24.44 kB / 0.5097 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.489e-05/0.419, allocations: 46.45 kB / 0.5098 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002623/0.4193, allocations: 139.9 kB / 0.5099 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4193, allocations: 0 / 0.5099 GB, free: 36.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4193, allocations: 0 / 0.5099 GB, free: 36.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.4193, allocations: 4 kB / 0.5099 GB, free: 36.1 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007656/0.4201, allocations: 475.8 kB / 0.5104 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.4201, allocations: 11.69 kB / 0.5104 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.041e-05/0.4202, allocations: 21.66 kB / 0.5104 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.4205, allocations: 231.9 kB / 0.5106 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.4205, allocations: 3.406 kB / 0.5106 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.4205, allocations: 13.94 kB / 0.5106 GB, free: 35.4 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002444/0.4208, allocations: 107.5 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4208, allocations: 0 / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.4208, allocations: 4.359 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.4208, allocations: 2.688 kB / 0.5107 GB, free: 35.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.421, allocations: 51.48 kB / 0.5108 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005316/0.4215, allocations: 0.4995 MB / 0.5113 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003072/0.4218, allocations: 85.05 kB / 0.5113 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.422, allocations: 41.88 kB / 0.5114 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.422, allocations: 2.75 kB / 0.5114 GB, free: 34.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002293/0.4222, allocations: 82.59 kB / 0.5115 GB, free: 34.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.4222, allocations: 0 / 0.5115 GB, free: 34.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003631/0.4226, allocations: 148.2 kB / 0.5116 GB, free: 34.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.4227, allocations: 59.34 kB / 0.5117 GB, free: 34.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.4228, allocations: 195.4 kB / 0.5119 GB, free: 34.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.4228, allocations: 28.45 kB / 0.5119 GB, free: 34.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.533e-05/0.4229, allocations: 113.3 kB / 0.512 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.4229, allocations: 36.69 kB / 0.512 GB, free: 34.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.423, allocations: 25.64 kB / 0.512 GB, free: 34.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.415e-05/0.4231, allocations: 329 kB / 0.5124 GB, free: 33.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.311e-05/0.4232, allocations: 36.05 kB / 0.5124 GB, free: 33.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.752e-05/0.4233, allocations: 60.77 kB / 0.5125 GB, free: 33.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.4235, allocations: 100 kB / 0.5125 GB, free: 33.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4235, allocations: 0 / 0.5125 GB, free: 33.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002374/0.4237, allocations: 127.5 kB / 0.5127 GB, free: 33.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.4238, allocations: 5.781 kB / 0.5127 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4238, allocations: 0 / 0.5127 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4238, allocations: 2.906 kB / 0.5127 GB, free: 33.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.596e-05/0.4239, allocations: 32.83 kB / 0.5127 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4239, allocations: 7.031 kB / 0.5127 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.424, allocations: 13.06 kB / 0.5127 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.424, allocations: 2.875 kB / 0.5127 GB, free: 33.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001067/0.4241, allocations: 137.8 kB / 0.5129 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.4241, allocations: 13.47 kB / 0.5129 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.4242, allocations: 23.14 kB / 0.5129 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.4242, allocations: 3.938 kB / 0.5129 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4242, allocations: 2.75 kB / 0.5129 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.4242, allocations: 7.422 kB / 0.5129 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.4244, allocations: 197.7 kB / 0.5131 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.4244, allocations: 0 / 0.5131 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.256e-05/0.4245, allocations: 26.53 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4245, allocations: 0 / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.4245, allocations: 2.781 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.4245, allocations: 3.938 kB / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4245, allocations: 0 / 0.5131 GB, free: 33.33 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001411/0.4259, allocations: 1.41 MB / 0.5145 GB, free: 32.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.029e-05/0.426, allocations: 91.08 kB / 0.5146 GB, free: 32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.923e-05/0.426, allocations: 8.062 kB / 0.5146 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.247e-05/0.4261, allocations: 5.562 kB / 0.5146 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.4262, allocations: 5.891 kB / 0.5146 GB, free: 31.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.4262, allocations: 6.906 kB / 0.5146 GB, free: 31.99 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.748e-05/0.4263, allocations: 149.2 kB / 0.5148 GB, free: 31.89 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.4263, allocations: 0 / 0.5148 GB, free: 31.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002939/0.4266, allocations: 33.78 kB / 0.5148 GB, free: 31.88 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (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.0009136/0.4275, allocations: 419 kB / 0.5152 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002248/0.4277, allocations: 82.03 kB / 0.5153 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4278, allocations: 0 / 0.5153 GB, free: 31.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.565e-05/0.4279, allocations: 36.83 kB / 0.5153 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.4282, allocations: 39.39 kB / 0.5153 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005789/0.4288, allocations: 421.7 kB / 0.5157 GB, free: 31.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001617/0.4289, allocations: 0.7199 MB / 0.5165 GB, free: 30.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.056e-05/0.429, allocations: 28.55 kB / 0.5165 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.493e-05/0.4291, allocations: 15 kB / 0.5165 GB, free: 30.57 MB / 378.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4291, allocations: 0 / 0.5165 GB, free: 30.57 MB / 378.7 MB Notification: Performance of Templates: time 0.004745/0.4338, allocations: 1.867 MB / 0.5183 GB, free: 30.37 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches