Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.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.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001392, allocations: 113.2 kB / 17.78 MB, free: 5.258 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.00121/0.001211, allocations: 184.2 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.431/1.431, 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.2335/0.2335, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 470.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3784, allocations: 60.82 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.002651/0.381, allocations: 1.645 MB / 0.5205 GB, free: 2.473 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006029/0.3817, allocations: 424.9 kB / 0.5209 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.3817, allocations: 1.906 kB / 0.5209 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.3819, allocations: 69.47 kB / 0.521 GB, free: 2.176 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001839/0.3821, allocations: 71.14 kB / 0.5211 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.3824, allocations: 133 kB / 0.5212 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.3826, allocations: 79.02 kB / 0.5213 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.713e-05/0.3827, allocations: 24.3 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.689e-05/0.3827, allocations: 30.45 kB / 0.5213 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3828, allocations: 56.91 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3829, allocations: 7.625 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.391e-05/0.383, allocations: 47.64 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.383, allocations: 25.91 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.3831, allocations: 27.08 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.3833, allocations: 117.5 kB / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3833, allocations: 0 / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3833, allocations: 0 / 0.5216 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.3833, allocations: 4 kB / 0.5216 GB, free: 1.906 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003966/0.3837, allocations: 418.3 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3837, allocations: 9.531 kB / 0.522 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.3838, allocations: 9.672 kB / 0.522 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.3839, allocations: 193.7 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.3839, allocations: 2.625 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.3839, allocations: 3.297 kB / 0.5222 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.3841, allocations: 75.84 kB / 0.5223 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3841, allocations: 5.203 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.3841, allocations: 3.938 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3842, allocations: 1.062 kB / 0.5223 GB, free: 1.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.3843, allocations: 36.08 kB / 0.5223 GB, free: 1.215 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002863/0.3846, allocations: 312 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.3848, allocations: 58.23 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.3849, allocations: 28.98 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.3849, allocations: 0.6094 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.3849, allocations: 32.06 kB / 0.5227 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.3849, allocations: 3.938 kB / 0.5227 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001306/0.3862, allocations: 392.1 kB / 0.5231 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.3863, allocations: 56.53 kB / 0.5232 GB, free: 0.6289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.3864, allocations: 205.3 kB / 0.5234 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.296e-06/0.3864, allocations: 29.7 kB / 0.5234 GB, free: 472 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.3865, allocations: 101 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.3865, allocations: 35.78 kB / 0.5235 GB, free: 348 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-05/0.3866, allocations: 30.3 kB / 0.5236 GB, free: 320 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.631e-05/0.3866, allocations: 323 kB / 0.5239 GB, free: 16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.3868, allocations: 38.58 kB / 0.5239 GB, free: 15.99 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/0.3869, allocations: 45.38 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/0.3871, allocations: 110 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3871, allocations: 0 / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003001/0.3874, allocations: 138 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.3874, allocations: 5.688 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3874, allocations: 0 / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3875, allocations: 1.969 kB / 0.5242 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.3876, allocations: 29.14 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.3876, allocations: 4 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.762e-05/0.3877, allocations: 10.48 kB / 0.5242 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3877, allocations: 2.656 kB / 0.5242 GB, free: 15.86 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 (11): * Single equations (assignments): 11 * 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 9.842e-05/0.3878, allocations: 131.5 kB / 0.5244 GB, free: 15.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.571e-05/0.3878, allocations: 17.5 kB / 0.5244 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003587/0.3882, allocations: 161.5 kB / 0.5245 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.3882, allocations: 5.812 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.3882, allocations: 0 / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3882, allocations: 0.7031 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005666/0.3888, allocations: 476.3 kB / 0.525 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3888, allocations: 5.219 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.353e-05/0.3889, allocations: 28.58 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3889, allocations: 6.203 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3889, allocations: 5.406 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3889, allocations: 2.25 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3889, allocations: 5.312 kB / 0.525 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003188/0.3893, allocations: 258.4 kB / 0.5253 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/0.3893, allocations: 89.12 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.3893, allocations: 2.469 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.3894, allocations: 8.953 kB / 0.5254 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.3895, allocations: 16.58 kB / 0.5254 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.3895, allocations: 7.594 kB / 0.5254 GB, free: 14.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001121/0.3896, allocations: 156 kB / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3896, allocations: 0 / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000244/0.3899, allocations: 22.3 kB / 0.5256 GB, free: 14.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009153/0.3908, allocations: 464.7 kB / 0.526 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.3911, allocations: 110.8 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3911, allocations: 1.375 kB / 0.5261 GB, free: 14.59 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.3912, allocations: 59.69 kB / 0.5262 GB, free: 14.57 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3915, allocations: 23.78 kB / 0.5262 GB, free: 14.56 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.392, allocations: 288.8 kB / 0.5265 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002482/0.3923, allocations: 0.713 MB / 0.5272 GB, free: 13.66 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.478e-05/0.3923, allocations: 13.33 kB / 0.5272 GB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/0.3924, allocations: 19.11 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3924, allocations: 1.375 kB / 0.5272 GB, free: 13.64 MB / 398.1 MB Notification: Performance of Templates: time 0.003834/0.3962, allocations: 1.552 MB / 0.5287 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches