Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.001279, allocations: 113.3 kB / 18.45 MB, free: 4.602 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.001269/0.001269, allocations: 181.1 kB / 19.38 MB, free: 3.684 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.301/1.301, allocations: 222.9 MB / 243.1 MB, free: 15.02 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.2098/0.2098, allocations: 44.18 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001467, allocations: 59.91 kB / 471.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3695, allocations: 60.82 MB / 0.5196 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002802/0.3723, allocations: 1.707 MB / 0.5213 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001241/0.3736, allocations: 0.8721 MB / 0.5222 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.277e-05/0.3737, allocations: 5.031 kB / 0.5222 GB, free: 1.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003248/0.374, allocations: 38.92 kB / 0.5222 GB, free: 1.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002097/0.3742, allocations: 59.17 kB / 0.5223 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003135/0.3745, allocations: 110.2 kB / 0.5224 GB, free: 1.727 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.3747, allocations: 88.02 kB / 0.5224 GB, free: 1.691 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.698e-05/0.3748, allocations: 23.42 kB / 0.5225 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.813e-05/0.3749, allocations: 44.75 kB / 0.5225 GB, free: 1.648 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.375, allocations: 30.81 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.375, allocations: 3.469 kB / 0.5225 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.3751, allocations: 46.25 kB / 0.5226 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.55e-05/0.3752, allocations: 20.06 kB / 0.5226 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.906e-05/0.3753, allocations: 34.11 kB / 0.5226 GB, free: 1.586 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.3755, allocations: 112.1 kB / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3755, allocations: 0 / 0.5227 GB, free: 1.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3755, allocations: 5.094 kB / 0.5228 GB, free: 1.539 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.532e-06/0.3755, allocations: 0 / 0.5228 GB, free: 1.539 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.000461/0.376, allocations: 409.8 kB / 0.5231 GB, free: 1.137 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.376, allocations: 14.22 kB / 0.5232 GB, free: 1.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3761, allocations: 14.31 kB / 0.5232 GB, free: 1.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002332/0.3763, allocations: 215.7 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.3763, allocations: 1.562 kB / 0.5234 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3764, allocations: 6.406 kB / 0.5234 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.3765, allocations: 54.44 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.3765, allocations: 1.062 kB / 0.5234 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.3765, allocations: 4.594 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3765, allocations: 1.188 kB / 0.5234 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3766, allocations: 21.7 kB / 0.5235 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.3769, allocations: 291.9 kB / 0.5237 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001613/0.3771, allocations: 56.95 kB / 0.5238 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.3772, allocations: 22.97 kB / 0.5238 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.3772, allocations: 5.312 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000135/0.3773, allocations: 67.25 kB / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.3774, allocations: 0 / 0.5239 GB, free: 456 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005313/0.3779, allocations: 176.7 kB / 0.5241 GB, free: 364 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.3779, allocations: 57.03 kB / 0.5241 GB, free: 296 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.3781, allocations: 191.8 kB / 0.5243 GB, free: 164 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3781, allocations: 31.62 kB / 0.5243 GB, free: 128 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.109e-05/0.3782, allocations: 103.8 kB / 0.5244 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.3782, allocations: 29.36 kB / 0.5244 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.3783, allocations: 23.42 kB / 0.5245 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001167/0.3784, allocations: 330.1 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.175e-05/0.3785, allocations: 17.89 kB / 0.5248 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.995e-05/0.3786, allocations: 38.61 kB / 0.5248 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3787, allocations: 69.27 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3787, allocations: 5.641 kB / 0.5249 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001845/0.3789, allocations: 95.97 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3789, allocations: 9.812 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.3789, allocations: 0 / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.3789, allocations: 1.344 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.243e-05/0.379, allocations: 18.95 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.379, allocations: 2.25 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.782e-05/0.3791, allocations: 10.16 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.3791, allocations: 3.375 kB / 0.525 GB, free: 15.51 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.0001011/0.3792, allocations: 127 kB / 0.5252 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.3792, allocations: 13.5 kB / 0.5252 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.927e-05/0.3793, allocations: 17.31 kB / 0.5252 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.3793, allocations: 5.344 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3793, allocations: 0 / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3793, allocations: 4.641 kB / 0.5252 GB, free: 15.36 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004256/0.3798, allocations: 391.5 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.3798, allocations: 5.75 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.425e-05/0.3798, allocations: 11.73 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.646e-06/0.3798, allocations: 2.984 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.3798, allocations: 4.5 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3798, allocations: 5.781 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3799, allocations: 0.5156 kB / 0.5256 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.3801, allocations: 205.7 kB / 0.5258 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.046e-05/0.3801, allocations: 84.88 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.3802, allocations: 5.953 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.3802, allocations: 3.016 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3803, allocations: 14.3 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3803, allocations: 3.609 kB / 0.5259 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3804, allocations: 152.1 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3804, allocations: 0 / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002622/0.3807, allocations: 31.84 kB / 0.5261 GB, free: 14.61 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.001017/0.3817, allocations: 463.7 kB / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.382, allocations: 72.09 kB / 0.5266 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.382, allocations: 0 / 0.5266 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.05e-05/0.382, allocations: 24.97 kB / 0.5266 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.3824, allocations: 35.78 kB / 0.5267 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3829, allocations: 249.1 kB / 0.5269 GB, free: 14.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002551/0.3831, allocations: 0.7158 MB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.3832, allocations: 15.77 kB / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3832, allocations: 0 / 0.5276 GB, free: 13.45 MB / 398.1 MB Notification: Performance of Templates: time 0.003746/0.3869, allocations: 1.934 MB / 0.5295 GB, free: 12.76 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches