Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001078/0.001078, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2475/0.2475, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 60.14 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5103/0.5115, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.002869/0.5144, allocations: 1.588 MB / 0.5205 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007498/0.5152, allocations: 407.4 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.5e-05/0.5153, allocations: 0.9375 kB / 0.5209 GB, free: 2.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.5157, allocations: 120 kB / 0.521 GB, free: 2.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.5159, allocations: 86.72 kB / 0.5211 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002618/0.5162, allocations: 92.94 kB / 0.5212 GB, free: 2.156 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002067/0.5164, allocations: 82.02 kB / 0.5212 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.5166, allocations: 14.72 kB / 0.5212 GB, free: 2.129 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.873e-05/0.5166, allocations: 48.41 kB / 0.5213 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001555/0.5168, allocations: 82.36 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.5168, allocations: 3.219 kB / 0.5214 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001035/0.5169, allocations: 43.98 kB / 0.5214 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.527e-05/0.517, allocations: 26.91 kB / 0.5214 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.197e-05/0.5171, allocations: 47.41 kB / 0.5215 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.5173, allocations: 115.9 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.5173, allocations: 1.344 kB / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5173, allocations: 0 / 0.5216 GB, free: 1.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.5173, allocations: 0 / 0.5216 GB, free: 1.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004433/0.5178, allocations: 428.4 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.418e-05/0.5178, allocations: 9.875 kB / 0.522 GB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.953e-05/0.5179, allocations: 11.09 kB / 0.522 GB, free: 1.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.518, allocations: 204.3 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.518, allocations: 1.5 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.062e-05/0.5181, allocations: 3.5 kB / 0.5222 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.5182, allocations: 59.81 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.5182, allocations: 1.484 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.5182, allocations: 0 / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.5183, allocations: 0.9688 kB / 0.5223 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5184, allocations: 29.56 kB / 0.5223 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000341/0.5187, allocations: 307.3 kB / 0.5226 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.5188, allocations: 43.41 kB / 0.5226 GB, free: 0.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.5189, allocations: 19.28 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/0.5189, allocations: 1.594 kB / 0.5227 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.5189, allocations: 39.12 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.5189, allocations: 0 / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008449/0.5198, allocations: 223.5 kB / 0.5229 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.5198, allocations: 59.34 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.5201, allocations: 275.7 kB / 0.5232 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.5201, allocations: 27.3 kB / 0.5233 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.797e-05/0.5201, allocations: 115.5 kB / 0.5234 GB, free: 464 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.5202, allocations: 29.58 kB / 0.5234 GB, free: 440 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.5202, allocations: 24.97 kB / 0.5234 GB, free: 416 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.676e-05/0.5203, allocations: 323.5 kB / 0.5237 GB, free: 92 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.402e-05/0.5204, allocations: 30.08 kB / 0.5238 GB, free: 80 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.5204, allocations: 23.53 kB / 0.5238 GB, free: 76 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.5206, allocations: 58.89 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.5206, allocations: 0 / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002173/0.5208, allocations: 105.8 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5208, allocations: 6.156 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.5209, allocations: 0 / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.5209, allocations: 5.922 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.85e-05/0.521, allocations: 16.75 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.521, allocations: 5.25 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.306e-05/0.5211, allocations: 8.344 kB / 0.524 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.5211, allocations: 3.109 kB / 0.524 GB, free: 15.98 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 0.0001422/0.5212, allocations: 137.2 kB / 0.5241 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.989e-05/0.5213, allocations: 13.66 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.5216, allocations: 131.1 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.5216, allocations: 0 / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5216, allocations: 4.5 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.5216, allocations: 0.5156 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005884/0.5222, allocations: 411.3 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5222, allocations: 4.734 kB / 0.5247 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.5223, allocations: 20.22 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5223, allocations: 6.406 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.899e-06/0.5223, allocations: 1.594 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.5223, allocations: 1.25 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.5223, allocations: 0.6094 kB / 0.5247 GB, free: 15.4 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.5226, allocations: 207.8 kB / 0.5249 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.5227, allocations: 97.97 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.5227, allocations: 5.938 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.703e-05/0.5228, allocations: 4.594 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/0.5228, allocations: 5.891 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.5228, allocations: 2.25 kB / 0.525 GB, free: 15.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001693/0.523, allocations: 204.8 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.523, allocations: 0 / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.5232, allocations: 24.61 kB / 0.5252 GB, free: 15 MB / 398.1 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.001069/0.5243, allocations: 464 kB / 0.5257 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000224/0.5246, allocations: 63.78 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5246, allocations: 4 kB / 0.5257 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.81e-05/0.5247, allocations: 39.05 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.525, allocations: 21.86 kB / 0.5258 GB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.5256, allocations: 294.6 kB / 0.5261 GB, free: 14.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.5259, allocations: 0.7198 MB / 0.5268 GB, free: 13.85 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.5259, allocations: 13.77 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.587e-05/0.526, allocations: 14.11 kB / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.526, allocations: 0 / 0.5268 GB, free: 13.84 MB / 398.1 MB Notification: Performance of Templates: time 0.004335/0.5303, allocations: 1.373 MB / 0.5281 GB, free: 13.37 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches