Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.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.Test20,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.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,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.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 105.8 kB / 17.78 MB, free: 5.266 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.001392/0.001392, allocations: 183.1 kB / 18.71 MB, free: 4.34 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.359/1.359, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2116/0.2116, allocations: 44.19 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4068, allocations: 60.83 MB / 0.5189 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.003002/0.4099, allocations: 1.563 MB / 0.5205 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001492/0.4113, allocations: 1.017 MB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.013e-05/0.4114, allocations: 0.9375 kB / 0.5214 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.4116, allocations: 32.23 kB / 0.5215 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.4118, allocations: 45.38 kB / 0.5215 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002396/0.4121, allocations: 81.05 kB / 0.5216 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.4122, allocations: 51 kB / 0.5216 GB, free: 1.965 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.4123, allocations: 19.27 kB / 0.5217 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.515e-05/0.4124, allocations: 17.58 kB / 0.5217 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.4125, allocations: 25.72 kB / 0.5217 GB, free: 1.934 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.937e-05/0.4125, allocations: 7.078 kB / 0.5217 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.4127, allocations: 50.77 kB / 0.5218 GB, free: 1.914 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.321e-05/0.4127, allocations: 16.8 kB / 0.5218 GB, free: 1.902 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.986e-05/0.4127, allocations: 16.64 kB / 0.5218 GB, free: 1.891 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001827/0.4129, allocations: 91.64 kB / 0.5219 GB, free: 1.852 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4129, allocations: 3.938 kB / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4129, allocations: 0 / 0.5219 GB, free: 1.848 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.4129, allocations: 1.156 kB / 0.5219 GB, free: 1.848 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.0003869/0.4133, allocations: 380.8 kB / 0.5223 GB, free: 1.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.4133, allocations: 9.422 kB / 0.5223 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.844e-05/0.4134, allocations: 11.73 kB / 0.5223 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4135, allocations: 182.3 kB / 0.5224 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.4135, allocations: 5.844 kB / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.4135, allocations: 1.812 kB / 0.5225 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4137, allocations: 70.62 kB / 0.5225 GB, free: 1.184 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4137, allocations: 3.953 kB / 0.5225 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.4137, allocations: 3.984 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4137, allocations: 1.469 kB / 0.5225 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.667e-05/0.4138, allocations: 21.55 kB / 0.5225 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.4141, allocations: 280.8 kB / 0.5228 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4142, allocations: 44.16 kB / 0.5229 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.424e-05/0.4143, allocations: 21.06 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4143, allocations: 0.6562 kB / 0.5229 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.442e-05/0.4143, allocations: 36.41 kB / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4143, allocations: 0 / 0.5229 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000458/0.4148, allocations: 131.5 kB / 0.523 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4148, allocations: 78.8 kB / 0.5231 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.4149, allocations: 142.2 kB / 0.5233 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.4149, allocations: 26.89 kB / 0.5233 GB, free: 500 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.415, allocations: 96.89 kB / 0.5234 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.415, allocations: 15.69 kB / 0.5234 GB, free: 392 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.112e-05/0.415, allocations: 18.77 kB / 0.5234 GB, free: 372 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.4151, allocations: 323.2 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.503e-05/0.4151, allocations: 18.05 kB / 0.5237 GB, free: 40 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.648e-05/0.4152, allocations: 32.28 kB / 0.5238 GB, free: 20 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.4153, allocations: 46.75 kB / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4153, allocations: 0 / 0.5238 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002161/0.4155, allocations: 84.3 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.4155, allocations: 5.125 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4155, allocations: 2.109 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.4156, allocations: 0 / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.955e-05/0.4156, allocations: 12.25 kB / 0.5239 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.4156, allocations: 3.938 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.4157, allocations: 9.828 kB / 0.5239 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.4157, allocations: 1.984 kB / 0.5239 GB, free: 15.94 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.468e-05/0.4158, allocations: 118.5 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.348e-05/0.4158, allocations: 7.812 kB / 0.524 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.416, allocations: 91.42 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.416, allocations: 2.234 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.416, allocations: 0 / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.416, allocations: 4.312 kB / 0.5241 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.4164, allocations: 342.5 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.4164, allocations: 4.781 kB / 0.5245 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.4165, allocations: 16.36 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.4165, allocations: 0 / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.4165, allocations: 1.766 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.4165, allocations: 3.938 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4165, allocations: 1.781 kB / 0.5245 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.4167, allocations: 175.8 kB / 0.5247 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.4168, allocations: 84.22 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.4168, allocations: 6.078 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.4169, allocations: 8.062 kB / 0.5247 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/0.4169, allocations: 5.062 kB / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.566e-06/0.4169, allocations: 0 / 0.5248 GB, free: 15.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 7.657e-05/0.417, allocations: 108.3 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.417, allocations: 0 / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002507/0.4172, allocations: 24.59 kB / 0.5249 GB, free: 15.06 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.0009516/0.4182, allocations: 450.2 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.4184, allocations: 47.36 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4184, allocations: 0 / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.921e-05/0.4184, allocations: 23.53 kB / 0.5254 GB, free: 14.84 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.4187, allocations: 17.72 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003356/0.4191, allocations: 159.4 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002617/0.4193, allocations: 0.6947 MB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.662e-05/0.4194, allocations: 7.609 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.4194, allocations: 13.89 kB / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of SimCode: time 3.5e-07/0.4194, allocations: 0 / 0.5262 GB, free: 13.99 MB / 398.1 MB Notification: Performance of Templates: time 0.003895/0.4233, allocations: 1.363 MB / 0.5276 GB, free: 13.64 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches