Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 107.4 kB / 18.45 MB, free: 4.625 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.001234/0.001234, allocations: 186.2 kB / 19.38 MB, free: 3.703 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.287/1.287, 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.2163/0.2163, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 60.09 kB / 471.3 MB, free: 13.1 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3546/0.3561, allocations: 60.83 MB / 0.5197 GB, free: 3.637 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.003925/0.3601, allocations: 1.704 MB / 0.5213 GB, free: 2.453 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3617, allocations: 0.8749 MB / 0.5222 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000145/0.3619, allocations: 4.875 kB / 0.5222 GB, free: 1.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.3623, allocations: 35.27 kB / 0.5222 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.3627, allocations: 58.89 kB / 0.5223 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004302/0.3631, allocations: 105.8 kB / 0.5224 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002391/0.3634, allocations: 100.4 kB / 0.5225 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.3635, allocations: 16.59 kB / 0.5225 GB, free: 1.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001267/0.3636, allocations: 36.84 kB / 0.5225 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.3637, allocations: 30.83 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.426e-05/0.3638, allocations: 2.812 kB / 0.5225 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.3639, allocations: 46.89 kB / 0.5226 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.253e-05/0.364, allocations: 18.39 kB / 0.5226 GB, free: 1.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.3641, allocations: 33.56 kB / 0.5226 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002938/0.3644, allocations: 114.4 kB / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.3644, allocations: 0 / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3644, allocations: 1.219 kB / 0.5227 GB, free: 1.559 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.617e-06/0.3644, allocations: 4.75 kB / 0.5228 GB, free: 1.555 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.0005852/0.365, allocations: 404.8 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.365, allocations: 8.875 kB / 0.5231 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.231e-05/0.3651, allocations: 10.8 kB / 0.5232 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000316/0.3654, allocations: 205.5 kB / 0.5234 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3654, allocations: 6.656 kB / 0.5234 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.3655, allocations: 7.062 kB / 0.5234 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3657, allocations: 57.23 kB / 0.5234 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.3657, allocations: 9.219 kB / 0.5234 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3657, allocations: 4.688 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.3657, allocations: 1.344 kB / 0.5234 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.235e-05/0.3658, allocations: 21.69 kB / 0.5235 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003754/0.3662, allocations: 282.8 kB / 0.5237 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001724/0.3664, allocations: 63.77 kB / 0.5238 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.367e-05/0.3664, allocations: 20.52 kB / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.3665, allocations: 0 / 0.5238 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001465/0.3666, allocations: 65.92 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.3666, allocations: 1.031 kB / 0.5239 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005862/0.3672, allocations: 179.7 kB / 0.524 GB, free: 388 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.3673, allocations: 66.53 kB / 0.5241 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002019/0.3675, allocations: 185.7 kB / 0.5243 GB, free: 180 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.3675, allocations: 26.86 kB / 0.5243 GB, free: 148 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.219e-05/0.3675, allocations: 99.59 kB / 0.5244 GB, free: 52 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.3676, allocations: 26.64 kB / 0.5244 GB, free: 32 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.001e-05/0.3676, allocations: 25.41 kB / 0.5245 GB, free: 8 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.3678, allocations: 326 kB / 0.5248 GB, free: 15.69 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.579e-05/0.3678, allocations: 21.12 kB / 0.5248 GB, free: 15.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.3679, allocations: 43.73 kB / 0.5248 GB, free: 15.65 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.368, allocations: 54.14 kB / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.368, allocations: 0 / 0.5249 GB, free: 15.62 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002031/0.3683, allocations: 100.7 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3683, allocations: 6.406 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3683, allocations: 0.75 kB / 0.525 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.3683, allocations: 9.109 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.651e-05/0.3684, allocations: 15.3 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.3684, allocations: 1.781 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.455e-05/0.3685, allocations: 7.078 kB / 0.525 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-06/0.3685, allocations: 2.812 kB / 0.525 GB, free: 15.55 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.000121/0.3686, allocations: 125.4 kB / 0.5251 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.3687, allocations: 16.81 kB / 0.5251 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.3687, allocations: 16.8 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.536e-06/0.3687, allocations: 1.25 kB / 0.5252 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3687, allocations: 4 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.3688, allocations: 4.734 kB / 0.5252 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.3693, allocations: 392.7 kB / 0.5255 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.3693, allocations: 2.625 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.3693, allocations: 8.312 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3693, allocations: 1.312 kB / 0.5256 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3694, allocations: 10.42 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.3694, allocations: 2.562 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3694, allocations: 4.031 kB / 0.5256 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.3696, allocations: 204.2 kB / 0.5258 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.3697, allocations: 85.78 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.857e-05/0.3697, allocations: 6.281 kB / 0.5259 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.172e-05/0.3698, allocations: 6.094 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.3699, allocations: 9.234 kB / 0.5259 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.3699, allocations: 7.844 kB / 0.5259 GB, free: 14.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001419/0.37, allocations: 148 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.37, allocations: 0 / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003021/0.3704, allocations: 26.78 kB / 0.526 GB, free: 14.65 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.001126/0.3715, allocations: 463 kB / 0.5265 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.3717, allocations: 60.39 kB / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3717, allocations: 0 / 0.5265 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.604e-05/0.3718, allocations: 27.55 kB / 0.5266 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.3722, allocations: 32 kB / 0.5266 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.3727, allocations: 252.1 kB / 0.5268 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.373, allocations: 0.7045 MB / 0.5275 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.3731, allocations: 17 kB / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3731, allocations: 0 / 0.5275 GB, free: 13.49 MB / 398.1 MB Notification: Performance of Templates: time 0.004807/0.3779, allocations: 1.91 MB / 0.5294 GB, free: 12.83 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches