Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.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 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 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) 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 111.8 kB / 18.45 MB, free: 4.578 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.001134/0.001134, allocations: 182.3 kB / 19.38 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 243.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2037/0.2037, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 67.88 kB / 471.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3601, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003082/0.3633, allocations: 1.706 MB / 0.5213 GB, free: 2.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3647, allocations: 0.8795 MB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.661e-05/0.3648, allocations: 1.094 kB / 0.5222 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003165/0.3651, allocations: 41.16 kB / 0.5222 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3654, allocations: 51.58 kB / 0.5223 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.3657, allocations: 112.8 kB / 0.5224 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.3659, allocations: 100.1 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.638e-05/0.366, allocations: 11.75 kB / 0.5225 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.571e-05/0.3661, allocations: 42.23 kB / 0.5225 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.3662, allocations: 29.64 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.3662, allocations: 4.281 kB / 0.5225 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.3663, allocations: 42.22 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.3664, allocations: 17.53 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.3664, allocations: 37.84 kB / 0.5226 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.3666, allocations: 115.5 kB / 0.5227 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3667, allocations: 0 / 0.5227 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3667, allocations: 5 kB / 0.5228 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.3667, allocations: 0 / 0.5228 GB, free: 1.531 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000485/0.3672, allocations: 400.6 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.3672, allocations: 9.938 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.475e-05/0.3673, allocations: 10.02 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.3675, allocations: 211 kB / 0.5234 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.3675, allocations: 5.219 kB / 0.5234 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.3676, allocations: 6.906 kB / 0.5234 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3677, allocations: 57.55 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3678, allocations: 5.25 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3678, allocations: 4.641 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.3678, allocations: 0.9688 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.634e-05/0.3679, allocations: 17.78 kB / 0.5235 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003349/0.3682, allocations: 282.3 kB / 0.5237 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.3684, allocations: 68.2 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.3684, allocations: 23.94 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.702e-05/0.3685, allocations: 1.781 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.3686, allocations: 66.59 kB / 0.5239 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.033e-06/0.3687, allocations: 3.938 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005704/0.3692, allocations: 179.8 kB / 0.524 GB, free: 360 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.06e-05/0.3693, allocations: 61.12 kB / 0.5241 GB, free: 288 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001596/0.3694, allocations: 182 kB / 0.5243 GB, free: 160 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3695, allocations: 30.92 kB / 0.5243 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.306e-05/0.3695, allocations: 99.94 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.3695, allocations: 26.56 kB / 0.5244 GB, free: 8 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/0.3696, allocations: 21.06 kB / 0.5244 GB, free: 15.99 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000154/0.3698, allocations: 330.4 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.218e-05/0.3698, allocations: 21.86 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.902e-05/0.3699, allocations: 39.03 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.37, allocations: 57.34 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3701, allocations: 1.5 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001926/0.3703, allocations: 100.6 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3703, allocations: 8.234 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.3703, allocations: 1 kB / 0.525 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3703, allocations: 4.969 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.167e-05/0.3704, allocations: 15.92 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3704, allocations: 1.25 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.3705, allocations: 11.72 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.3705, allocations: 6.766 kB / 0.525 GB, free: 15.52 MB / 398.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 (10): * Single equations (assignments): 10 * 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.0001109/0.3706, allocations: 121.2 kB / 0.5251 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.3706, allocations: 13.06 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.3707, allocations: 19.41 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.3707, allocations: 5.656 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3707, allocations: 1.312 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.3707, allocations: 4.734 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.3712, allocations: 388.8 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3712, allocations: 1.375 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.165e-05/0.3712, allocations: 8.672 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3713, allocations: 1.656 kB / 0.5256 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.3713, allocations: 10.75 kB / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3713, allocations: 0 / 0.5256 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3713, allocations: 9.312 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.3716, allocations: 205.2 kB / 0.5258 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.3716, allocations: 89.62 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.3717, allocations: 6.75 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.3717, allocations: 2.953 kB / 0.5259 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3718, allocations: 8.969 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.3718, allocations: 7.844 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000151/0.372, allocations: 146.6 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.372, allocations: 1.281 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002658/0.3722, allocations: 25.78 kB / 0.5261 GB, free: 14.62 MB / 398.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 (8): * Single equations (assignments): 6 * 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.001063/0.3733, allocations: 456.9 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.3735, allocations: 60.78 kB / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3735, allocations: 0 / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.3736, allocations: 28.95 kB / 0.5266 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.374, allocations: 33.36 kB / 0.5266 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.3745, allocations: 246.5 kB / 0.5268 GB, free: 14.18 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3748, allocations: 0.7087 MB / 0.5275 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.3749, allocations: 16.69 kB / 0.5275 GB, free: 13.46 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3749, allocations: 0 / 0.5275 GB, free: 13.46 MB / 398.1 MB Notification: Performance of Templates: time 0.004735/0.3796, allocations: 1.909 MB / 0.5294 GB, free: 12.81 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches