Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB 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: 97.42 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3457/0.3457, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 55.91 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4004/0.4014, allocations: 60.8 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.003256/0.4048, allocations: 1.633 MB / 0.508 GB, free: 37.3 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007103/0.4055, allocations: 407.2 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.156e-05/0.4055, allocations: 10.97 kB / 0.5084 GB, free: 37.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.4058, allocations: 73.23 kB / 0.5084 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.406, allocations: 55.91 kB / 0.5085 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002159/0.4062, allocations: 75.56 kB / 0.5086 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.4064, allocations: 78.53 kB / 0.5086 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4065, allocations: 20.2 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.827e-05/0.4066, allocations: 25.41 kB / 0.5087 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.729e-05/0.4067, allocations: 56.48 kB / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.4067, allocations: 0 / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.179e-05/0.4068, allocations: 41.3 kB / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.078e-05/0.4068, allocations: 19.36 kB / 0.5088 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.4069, allocations: 29.62 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.407, allocations: 94.08 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.407, allocations: 6.719 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.407, allocations: 3.938 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.407, allocations: 0 / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004309/0.4075, allocations: 406.7 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4075, allocations: 8.375 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.4076, allocations: 14.62 kB / 0.5093 GB, free: 36.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.4077, allocations: 196 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4077, allocations: 4.375 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4078, allocations: 3.625 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.4079, allocations: 64.17 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.4079, allocations: 0 / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4079, allocations: 0 / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.408, allocations: 6.875 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.954e-05/0.408, allocations: 25.28 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.4084, allocations: 292.3 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.4085, allocations: 53.95 kB / 0.51 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.4085, allocations: 11.73 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.4086, allocations: 1.219 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4086, allocations: 38.73 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.4086, allocations: 0 / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007879/0.4094, allocations: 217.9 kB / 0.5102 GB, free: 35.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.4094, allocations: 54.34 kB / 0.5103 GB, free: 35.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.4096, allocations: 209.8 kB / 0.5105 GB, free: 35.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.4096, allocations: 28.48 kB / 0.5105 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.252e-05/0.4097, allocations: 102.3 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.4097, allocations: 32.41 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.509e-05/0.4097, allocations: 23.25 kB / 0.5106 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.074e-05/0.4098, allocations: 320.8 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-05/0.4099, allocations: 25.08 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.025e-05/0.41, allocations: 24.86 kB / 0.511 GB, free: 34.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.4101, allocations: 67.22 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4101, allocations: 4 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001763/0.4103, allocations: 96.44 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.4103, allocations: 5.75 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4103, allocations: 0 / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.4103, allocations: 2.781 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.186e-05/0.4104, allocations: 14.77 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.4104, allocations: 6.938 kB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.879e-05/0.4105, allocations: 13.88 kB / 0.5112 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.4105, allocations: 2.906 kB / 0.5112 GB, free: 34.84 MB / 378.7 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 7.395e-05/0.4106, allocations: 130.3 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.4106, allocations: 13.5 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002404/0.4109, allocations: 119 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.4109, allocations: 2.719 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.4109, allocations: 3.938 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.4109, allocations: 3.328 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004125/0.4113, allocations: 400.6 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4113, allocations: 0 / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.277e-05/0.4114, allocations: 25.39 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4114, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.138e-06/0.4114, allocations: 2.812 kB / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4114, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4114, allocations: 0 / 0.5119 GB, free: 34.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004485/0.4119, allocations: 0.7977 MB / 0.5127 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.968e-05/0.4119, allocations: 84.2 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.4119, allocations: 6.156 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.412, allocations: 6.875 kB / 0.5127 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.4121, allocations: 6.328 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.4121, allocations: 6.719 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.4122, allocations: 153.6 kB / 0.5129 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4122, allocations: 0 / 0.5129 GB, free: 33.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.4125, allocations: 29.12 kB / 0.5129 GB, free: 33.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.0008745/0.4134, allocations: 451.8 kB / 0.5134 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.4136, allocations: 67.47 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.4136, allocations: 0 / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.609e-05/0.4137, allocations: 44.86 kB / 0.5135 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003097/0.414, allocations: 17.58 kB / 0.5135 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.4145, allocations: 394 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.4147, allocations: 0.7086 MB / 0.5146 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.205e-05/0.4148, allocations: 13.86 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.4148, allocations: 15 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4148, allocations: 3.938 kB / 0.5146 GB, free: 32.01 MB / 378.7 MB Notification: Performance of Templates: time 0.003268/0.4181, allocations: 1.296 MB / 0.5159 GB, free: 31.84 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches