Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, 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.001048/0.001048, 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.379/1.379, allocations: 222.9 MB / 242.4 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.2066/0.2066, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 55.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3622, allocations: 60.83 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002639/0.3648, allocations: 1.569 MB / 0.5205 GB, free: 2.539 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.3661, allocations: 1.027 MB / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.518e-05/0.3661, allocations: 0 / 0.5215 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002102/0.3664, allocations: 15.73 kB / 0.5215 GB, free: 1.805 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001916/0.3666, allocations: 45.38 kB / 0.5215 GB, free: 1.777 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.3668, allocations: 89.23 kB / 0.5216 GB, free: 1.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.3669, allocations: 50.95 kB / 0.5217 GB, free: 1.711 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.635e-05/0.367, allocations: 11.12 kB / 0.5217 GB, free: 1.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.669e-05/0.3671, allocations: 30.8 kB / 0.5217 GB, free: 1.688 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.3672, allocations: 25.33 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.3672, allocations: 3.656 kB / 0.5217 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3673, allocations: 45.23 kB / 0.5218 GB, free: 1.664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.711e-05/0.3674, allocations: 16.91 kB / 0.5218 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.216e-05/0.3674, allocations: 20.7 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3676, allocations: 83.02 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3676, allocations: 1.188 kB / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3676, allocations: 0 / 0.5219 GB, free: 1.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.3676, allocations: 3.938 kB / 0.5219 GB, free: 1.605 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.000383/0.368, allocations: 390.1 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.3681, allocations: 9.812 kB / 0.5223 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.873e-05/0.3681, allocations: 8.047 kB / 0.5223 GB, free: 1.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.3682, allocations: 189.1 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.3682, allocations: 2.438 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3683, allocations: 2.453 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.3684, allocations: 64.97 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3684, allocations: 16.8 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3684, allocations: 0 / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.3684, allocations: 1.766 kB / 0.5225 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.342e-05/0.3685, allocations: 22.31 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002799/0.3688, allocations: 267.8 kB / 0.5228 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.369, allocations: 47.73 kB / 0.5229 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.763e-05/0.369, allocations: 17.09 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.3691, allocations: 1.125 kB / 0.5229 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.557e-05/0.3691, allocations: 36.58 kB / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.3691, allocations: 0 / 0.5229 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005145/0.3696, allocations: 130.5 kB / 0.523 GB, free: 500 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.3696, allocations: 83.38 kB / 0.5231 GB, free: 400 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.3697, allocations: 139 kB / 0.5233 GB, free: 280 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.126e-06/0.3697, allocations: 27.11 kB / 0.5233 GB, free: 248 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.816e-05/0.3698, allocations: 88.38 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.626e-05/0.3698, allocations: 18.8 kB / 0.5234 GB, free: 144 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.3698, allocations: 19.59 kB / 0.5234 GB, free: 124 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.3699, allocations: 323.7 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.964e-05/0.37, allocations: 18.38 kB / 0.5237 GB, free: 15.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.3701, allocations: 30.5 kB / 0.5238 GB, free: 15.78 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3702, allocations: 47.05 kB / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3702, allocations: 0 / 0.5238 GB, free: 15.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001939/0.3704, allocations: 85.03 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.3704, allocations: 5 kB / 0.5239 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3704, allocations: 6.031 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.3704, allocations: 3.938 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.206e-05/0.3705, allocations: 11.77 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3705, allocations: 1.031 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.324e-05/0.3705, allocations: 9.938 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.222e-06/0.3705, allocations: 1.219 kB / 0.5239 GB, free: 15.7 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 8.383e-05/0.3706, allocations: 118.2 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.3707, allocations: 8.422 kB / 0.524 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002275/0.3709, allocations: 95.08 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3709, allocations: 1.188 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.3709, allocations: 0.6562 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3709, allocations: 1.062 kB / 0.5241 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.3713, allocations: 346.3 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3713, allocations: 0.8438 kB / 0.5245 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.3714, allocations: 15.61 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3714, allocations: 5.312 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3714, allocations: 1.094 kB / 0.5245 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3714, allocations: 4.734 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.3714, allocations: 3.938 kB / 0.5245 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002261/0.3716, allocations: 173.1 kB / 0.5247 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.51e-05/0.3717, allocations: 83.88 kB / 0.5247 GB, free: 14.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.3717, allocations: 5.25 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.246e-05/0.3718, allocations: 9.875 kB / 0.5247 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.3718, allocations: 6.828 kB / 0.5248 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3718, allocations: 5.938 kB / 0.5248 GB, free: 14.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.388e-05/0.3719, allocations: 103.4 kB / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3719, allocations: 0 / 0.5249 GB, free: 14.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.3722, allocations: 24.83 kB / 0.5249 GB, free: 14.81 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.000948/0.3731, allocations: 444.5 kB / 0.5253 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.3733, allocations: 47.88 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3733, allocations: 0 / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.437e-05/0.3734, allocations: 22.44 kB / 0.5254 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.3737, allocations: 22.06 kB / 0.5254 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000341/0.3741, allocations: 159 kB / 0.5255 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3743, allocations: 0.6905 MB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.3744, allocations: 13.11 kB / 0.5262 GB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.605e-05/0.3744, allocations: 18.97 kB / 0.5263 GB, free: 13.73 MB / 398.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3744, allocations: 0 / 0.5263 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.004076/0.3785, allocations: 1.355 MB / 0.5276 GB, free: 13.42 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches