Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.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.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 114.7 kB / 17.74 MB, free: 5.43 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.001345/0.001345, allocations: 187.1 kB / 18.66 MB, free: 4.508 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.346/1.346, allocations: 222.9 MB / 242.3 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.2079/0.2079, allocations: 44.19 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 67.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3599, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.002717/0.3627, allocations: 1.588 MB / 0.5204 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.364, allocations: 1.033 MB / 0.5214 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.3641, allocations: 1.125 kB / 0.5214 GB, free: 1.785 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002734/0.3644, allocations: 25.11 kB / 0.5214 GB, free: 1.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3646, allocations: 45.3 kB / 0.5215 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.365, allocations: 108.5 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001763/0.3651, allocations: 63.02 kB / 0.5216 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.3653, allocations: 25.86 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.782e-05/0.3653, allocations: 32.81 kB / 0.5217 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.3655, allocations: 30.75 kB / 0.5217 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.3655, allocations: 4.094 kB / 0.5217 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.3657, allocations: 56.47 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.3657, allocations: 10.56 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.964e-05/0.3658, allocations: 27.67 kB / 0.5218 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.366, allocations: 106.4 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.366, allocations: 0 / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3661, allocations: 4 kB / 0.5219 GB, free: 1.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.3661, allocations: 0 / 0.5219 GB, free: 1.523 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000498/0.3666, allocations: 386.1 kB / 0.5223 GB, free: 1.141 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.3666, allocations: 9.469 kB / 0.5223 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.839e-05/0.3667, allocations: 8.859 kB / 0.5223 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001933/0.3669, allocations: 191.8 kB / 0.5225 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3669, allocations: 10.58 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.3669, allocations: 4.172 kB / 0.5225 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3671, allocations: 87.91 kB / 0.5226 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.3672, allocations: 5.344 kB / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.17e-05/0.3672, allocations: 0 / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3672, allocations: 1.391 kB / 0.5226 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.3673, allocations: 39.72 kB / 0.5226 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004307/0.3678, allocations: 301.8 kB / 0.5229 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001209/0.3679, allocations: 58.53 kB / 0.523 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.789e-05/0.368, allocations: 22.45 kB / 0.523 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.368, allocations: 1.594 kB / 0.523 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.368, allocations: 35.56 kB / 0.523 GB, free: 460 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.368, allocations: 0 / 0.523 GB, free: 460 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006359/0.3687, allocations: 198.7 kB / 0.5232 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.133e-05/0.3687, allocations: 78.61 kB / 0.5233 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.3688, allocations: 139.7 kB / 0.5234 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.859e-06/0.3689, allocations: 25.7 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.3689, allocations: 98.33 kB / 0.5236 GB, free: 28 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.3689, allocations: 28.23 kB / 0.5236 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.369, allocations: 22.14 kB / 0.5236 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.3691, allocations: 323.9 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.687e-05/0.3692, allocations: 31.73 kB / 0.5239 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3693, allocations: 46.12 kB / 0.524 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3695, allocations: 66.5 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.3695, allocations: 5.156 kB / 0.5241 GB, free: 15.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002261/0.3697, allocations: 111.5 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.3698, allocations: 4.469 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3698, allocations: 1.125 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.3698, allocations: 0 / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.3699, allocations: 19.08 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.3699, allocations: 3.938 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.37, allocations: 8.953 kB / 0.5242 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.37, allocations: 2.25 kB / 0.5242 GB, free: 15.54 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 (8): * Single equations (assignments): 8 * 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 8.232e-05/0.3701, allocations: 121.3 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.3701, allocations: 8.312 kB / 0.5243 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/0.3704, allocations: 128.2 kB / 0.5244 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3704, allocations: 2.172 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.3704, allocations: 3.938 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.3705, allocations: 2.125 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.371, allocations: 402.2 kB / 0.5248 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.371, allocations: 5.062 kB / 0.5248 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.911e-05/0.3711, allocations: 17.28 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3711, allocations: 3.938 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.3711, allocations: 6.203 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3711, allocations: 0 / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3711, allocations: 1.781 kB / 0.5249 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002883/0.3714, allocations: 204.4 kB / 0.5251 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.691e-05/0.3715, allocations: 87.58 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.3715, allocations: 0 / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.3716, allocations: 5.609 kB / 0.5252 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.3716, allocations: 9.688 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.3717, allocations: 2.734 kB / 0.5252 GB, free: 14.71 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.939e-05/0.3718, allocations: 113.9 kB / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3718, allocations: 0 / 0.5253 GB, free: 14.63 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.372, allocations: 27.16 kB / 0.5253 GB, free: 14.62 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 (8): * Single equations (assignments): 8 * 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.0009944/0.373, allocations: 449.2 kB / 0.5257 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3733, allocations: 73.44 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3733, allocations: 4 kB / 0.5258 GB, free: 14.39 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/0.3734, allocations: 41.48 kB / 0.5258 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.3738, allocations: 18.2 kB / 0.5259 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004437/0.3742, allocations: 189.9 kB / 0.526 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002857/0.3745, allocations: 0.7014 MB / 0.5267 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.366e-05/0.3746, allocations: 25.06 kB / 0.5268 GB, free: 13.51 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.967e-05/0.3747, allocations: 16.95 kB / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3747, allocations: 0 / 0.5268 GB, free: 13.5 MB / 398.1 MB Notification: Performance of Templates: time 0.004399/0.3791, allocations: 1.472 MB / 0.5282 GB, free: 13.05 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches