Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.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.Test8,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.Test8") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test8,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.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 105.5 kB / 17.77 MB, free: 5.27 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.001637/0.001637, allocations: 188.8 kB / 18.71 MB, free: 4.348 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.477/1.477, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2289/0.2289, allocations: 44.18 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 71.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4217, allocations: 60.81 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test8): time 0.00333/0.4251, allocations: 1.566 MB / 0.5204 GB, free: 2.543 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008702/0.426, allocations: 396 kB / 0.5208 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.25e-05/0.4261, allocations: 1.094 kB / 0.5208 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.4264, allocations: 22.33 kB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.4267, allocations: 40.39 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002876/0.427, allocations: 92.03 kB / 0.521 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.4271, allocations: 53.89 kB / 0.521 GB, free: 2.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.4273, allocations: 12 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.552e-05/0.4273, allocations: 23.16 kB / 0.5211 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.228e-05/0.4274, allocations: 20.39 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.4274, allocations: 6.5 kB / 0.5211 GB, free: 2.148 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.199e-05/0.4275, allocations: 33.8 kB / 0.5211 GB, free: 2.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.4276, allocations: 14.19 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/0.4276, allocations: 24.97 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.4279, allocations: 81.92 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.4279, allocations: 0.7031 kB / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4279, allocations: 0 / 0.5212 GB, free: 2.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.4279, allocations: 1.312 kB / 0.5212 GB, free: 2.07 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.0005298/0.4284, allocations: 375.8 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.4285, allocations: 9.594 kB / 0.5216 GB, free: 1.691 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/0.4285, allocations: 7.656 kB / 0.5216 GB, free: 1.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001805/0.4287, allocations: 193.6 kB / 0.5218 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.4287, allocations: 2.141 kB / 0.5218 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.4288, allocations: 2.438 kB / 0.5218 GB, free: 1.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4289, allocations: 53.14 kB / 0.5218 GB, free: 1.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.429, allocations: 3.938 kB / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.429, allocations: 1.156 kB / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.85e-06/0.429, allocations: 0 / 0.5218 GB, free: 1.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.947e-05/0.4291, allocations: 23.11 kB / 0.5219 GB, free: 1.426 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003647/0.4295, allocations: 276.8 kB / 0.5221 GB, free: 1.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.4297, allocations: 48.2 kB / 0.5222 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.896e-05/0.4297, allocations: 17.42 kB / 0.5222 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.4298, allocations: 1.906 kB / 0.5222 GB, free: 1.09 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.4298, allocations: 36.47 kB / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.52e-07/0.4298, allocations: 0 / 0.5222 GB, free: 1.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005719/0.4304, allocations: 139.1 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4304, allocations: 56.31 kB / 0.5224 GB, free: 0.9141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.4306, allocations: 149 kB / 0.5226 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4306, allocations: 26.7 kB / 0.5226 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.64e-05/0.4306, allocations: 105.7 kB / 0.5227 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.599e-05/0.4307, allocations: 15.42 kB / 0.5227 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-05/0.4307, allocations: 19.39 kB / 0.5227 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.837e-05/0.4308, allocations: 323.5 kB / 0.523 GB, free: 328 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.125e-05/0.4309, allocations: 14.14 kB / 0.523 GB, free: 328 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.363e-05/0.4309, allocations: 19.59 kB / 0.5231 GB, free: 324 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.4311, allocations: 50.34 kB / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.4311, allocations: 0 / 0.5231 GB, free: 300 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001764/0.4313, allocations: 80.53 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.4313, allocations: 5.719 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.4313, allocations: 0.75 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.4313, allocations: 0.9688 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.448e-05/0.4314, allocations: 12.42 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.4314, allocations: 0.9688 kB / 0.5232 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.928e-05/0.4314, allocations: 11.8 kB / 0.5232 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.4315, allocations: 5.844 kB / 0.5232 GB, free: 240 kB / 382.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 7.016e-05/0.4315, allocations: 116.5 kB / 0.5233 GB, free: 120 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.172e-05/0.4316, allocations: 11.97 kB / 0.5233 GB, free: 112 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002405/0.4318, allocations: 89.7 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4318, allocations: 1.031 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.4318, allocations: 0.5625 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4318, allocations: 1.125 kB / 0.5234 GB, free: 52 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.4323, allocations: 351.6 kB / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.4323, allocations: 0 / 0.5238 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.4324, allocations: 15.3 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4324, allocations: 1.094 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.4324, allocations: 1.766 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4324, allocations: 3.938 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4324, allocations: 1.375 kB / 0.5238 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.4327, allocations: 176.8 kB / 0.524 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/0.4327, allocations: 83 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.4328, allocations: 1.875 kB / 0.524 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.009e-05/0.4329, allocations: 13.03 kB / 0.5241 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.4329, allocations: 2.953 kB / 0.5241 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.4329, allocations: 6.672 kB / 0.5241 GB, free: 15.45 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.433, allocations: 121.8 kB / 0.5242 GB, free: 15.37 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.433, allocations: 0 / 0.5242 GB, free: 15.37 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002418/0.4333, allocations: 15.75 kB / 0.5242 GB, free: 15.36 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.001006/0.4343, allocations: 408.7 kB / 0.5246 GB, free: 15.16 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.4345, allocations: 43.88 kB / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4345, allocations: 0 / 0.5246 GB, free: 15.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.818e-05/0.4346, allocations: 27.7 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.4349, allocations: 20.64 kB / 0.5247 GB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.4354, allocations: 179.8 kB / 0.5248 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.4357, allocations: 0.6957 MB / 0.5255 GB, free: 14.3 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.544e-05/0.4358, allocations: 10.52 kB / 0.5255 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.173e-05/0.4358, allocations: 19.97 kB / 0.5256 GB, free: 14.28 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4358, allocations: 0 / 0.5256 GB, free: 14.28 MB / 398.1 MB Notification: Performance of Templates: time 0.004528/0.4403, allocations: 1.111 MB / 0.5266 GB, free: 14.13 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches