Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 118.4 kB / 17.78 MB, free: 5.254 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.001127/0.001127, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.342/1.342, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2027/0.2027, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 63.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3648/0.366, allocations: 60.83 MB / 0.5189 GB, free: 3.859 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003108/0.3691, allocations: 1.566 MB / 0.5205 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.3706, allocations: 1.018 MB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.3707, allocations: 1.281 kB / 0.5215 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.3709, allocations: 23.78 kB / 0.5215 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002197/0.3711, allocations: 49.61 kB / 0.5215 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002908/0.3714, allocations: 80.7 kB / 0.5216 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3716, allocations: 58.91 kB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3717, allocations: 10.83 kB / 0.5217 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.535e-05/0.3718, allocations: 18.8 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004301/0.3722, allocations: 29.58 kB / 0.5217 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.3722, allocations: 6.438 kB / 0.5217 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3724, allocations: 46.28 kB / 0.5218 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.3724, allocations: 13.17 kB / 0.5218 GB, free: 1.895 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.382e-05/0.3725, allocations: 28.97 kB / 0.5218 GB, free: 1.871 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.3727, allocations: 87.19 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.3727, allocations: 0 / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3727, allocations: 1.156 kB / 0.5219 GB, free: 1.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.131e-06/0.3727, allocations: 0 / 0.5219 GB, free: 1.836 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000441/0.3732, allocations: 380.4 kB / 0.5223 GB, free: 1.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3732, allocations: 14.06 kB / 0.5223 GB, free: 1.445 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.3732, allocations: 8.641 kB / 0.5223 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.3734, allocations: 182.3 kB / 0.5225 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.3734, allocations: 1.781 kB / 0.5225 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.3735, allocations: 1.281 kB / 0.5225 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.3736, allocations: 72.91 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.3736, allocations: 10.2 kB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.3737, allocations: 0 / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3737, allocations: 5.281 kB / 0.5225 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.3738, allocations: 21.67 kB / 0.5226 GB, free: 1.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003553/0.3741, allocations: 276.3 kB / 0.5228 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.3743, allocations: 43.03 kB / 0.5229 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.005e-05/0.3744, allocations: 14.06 kB / 0.5229 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.3744, allocations: 4 kB / 0.5229 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.3744, allocations: 36.62 kB / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.3744, allocations: 0 / 0.5229 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.00058/0.375, allocations: 131.9 kB / 0.523 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3751, allocations: 78.3 kB / 0.5231 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3752, allocations: 143.7 kB / 0.5233 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.578e-06/0.3752, allocations: 29.7 kB / 0.5233 GB, free: 488 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.848e-05/0.3752, allocations: 93.16 kB / 0.5234 GB, free: 396 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.013e-05/0.3753, allocations: 14.98 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.333e-05/0.3753, allocations: 19.8 kB / 0.5234 GB, free: 364 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.336e-05/0.3754, allocations: 323.9 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.202e-05/0.3754, allocations: 12.94 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.316e-05/0.3755, allocations: 43.52 kB / 0.5238 GB, free: 4 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3757, allocations: 42.78 kB / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.3757, allocations: 0 / 0.5238 GB, free: 15.99 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001878/0.3758, allocations: 76.39 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3759, allocations: 5.531 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.3759, allocations: 0.6094 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.3759, allocations: 5.141 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.376, allocations: 20.7 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.376, allocations: 3.938 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.376, allocations: 5.906 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.376, allocations: 2 kB / 0.5239 GB, free: 15.93 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001112/0.3761, allocations: 121.7 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3762, allocations: 8.594 kB / 0.524 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.3764, allocations: 87.17 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3764, allocations: 5.281 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3764, allocations: 0 / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3764, allocations: 1.922 kB / 0.5241 GB, free: 15.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.3769, allocations: 346.2 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.3769, allocations: 0 / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.3769, allocations: 12.05 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.377, allocations: 1.625 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.377, allocations: 1.188 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.377, allocations: 8.547 kB / 0.5245 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.377, allocations: 7.922 kB / 0.5245 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000221/0.3772, allocations: 177.6 kB / 0.5247 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.3772, allocations: 83.41 kB / 0.5247 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3772, allocations: 0.6094 kB / 0.5247 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.3773, allocations: 12.92 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.3774, allocations: 9.047 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.3774, allocations: 1.125 kB / 0.5248 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000149/0.3775, allocations: 103.6 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3775, allocations: 0 / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3778, allocations: 24.44 kB / 0.5249 GB, free: 15.05 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001009/0.3788, allocations: 442.9 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.379, allocations: 43.42 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.379, allocations: 0 / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.754e-05/0.3791, allocations: 27.66 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.3794, allocations: 16.61 kB / 0.5254 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/0.3798, allocations: 163.6 kB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.38, allocations: 0.6904 MB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.092e-05/0.3801, allocations: 12.12 kB / 0.5262 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.3801, allocations: 14.58 kB / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3801, allocations: 0 / 0.5263 GB, free: 13.97 MB / 398.1 MB Notification: Performance of Templates: time 0.004717/0.3849, allocations: 1.357 MB / 0.5276 GB, free: 13.62 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches