Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.4 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.001049/0.001049, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.392/1.392, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2244/0.2244, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 63.89 kB / 470.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4181/0.4194, allocations: 60.81 MB / 0.5189 GB, free: 3.629 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test27): time 0.002992/0.4224, allocations: 1.651 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.4232, allocations: 424.2 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.26e-05/0.4232, allocations: 1.156 kB / 0.5209 GB, free: 2.203 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002512/0.4235, allocations: 57.33 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002044/0.4237, allocations: 60.58 kB / 0.5211 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.424, allocations: 134.4 kB / 0.5212 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.4242, allocations: 74.91 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.744e-05/0.4243, allocations: 15.77 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.729e-05/0.4244, allocations: 27.5 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4245, allocations: 51 kB / 0.5213 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.665e-05/0.4245, allocations: 11.97 kB / 0.5214 GB, free: 2.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.4246, allocations: 50.34 kB / 0.5214 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.018e-05/0.4247, allocations: 20.44 kB / 0.5214 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.4247, allocations: 34.78 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.4249, allocations: 106 kB / 0.5216 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.4249, allocations: 0 / 0.5216 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4249, allocations: 0.5625 kB / 0.5216 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4249, allocations: 0 / 0.5216 GB, free: 1.926 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.0004507/0.4254, allocations: 405 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.4254, allocations: 14.12 kB / 0.522 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.4255, allocations: 13.44 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001464/0.4256, allocations: 190.5 kB / 0.5222 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.4257, allocations: 6.562 kB / 0.5222 GB, free: 1.309 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.497e-05/0.4257, allocations: 7.062 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.4258, allocations: 59.27 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.4259, allocations: 1.281 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.4259, allocations: 0 / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.4259, allocations: 8.906 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00014/0.426, allocations: 44.98 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.4264, allocations: 297.1 kB / 0.5226 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002229/0.4266, allocations: 58.31 kB / 0.5226 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.2e-05/0.4267, allocations: 28.69 kB / 0.5226 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.4267, allocations: 5.609 kB / 0.5226 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.4267, allocations: 32.33 kB / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4267, allocations: 0 / 0.5227 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001322/0.428, allocations: 386 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.4281, allocations: 56.16 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.4282, allocations: 183.5 kB / 0.5233 GB, free: 0.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.4283, allocations: 26.45 kB / 0.5233 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.693e-05/0.4283, allocations: 99.11 kB / 0.5234 GB, free: 428 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.4283, allocations: 34.95 kB / 0.5234 GB, free: 400 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.4284, allocations: 26.94 kB / 0.5235 GB, free: 376 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.222e-05/0.4284, allocations: 322.5 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.4286, allocations: 47.09 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.4287, allocations: 44.45 kB / 0.5238 GB, free: 24 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.429, allocations: 98.31 kB / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.429, allocations: 0 / 0.5239 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003065/0.4293, allocations: 141.8 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4293, allocations: 9.219 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4293, allocations: 7.938 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4293, allocations: 5.906 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.4295, allocations: 24.09 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.4295, allocations: 5.969 kB / 0.5241 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.237e-05/0.4295, allocations: 16.45 kB / 0.5241 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.4296, allocations: 2.969 kB / 0.5241 GB, free: 15.89 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.954e-05/0.4297, allocations: 125.1 kB / 0.5243 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.066e-05/0.4297, allocations: 18.39 kB / 0.5243 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/0.4301, allocations: 162.2 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4302, allocations: 3.828 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4302, allocations: 0 / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.4302, allocations: 0.75 kB / 0.5244 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006403/0.4308, allocations: 468.3 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4308, allocations: 0.6562 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.944e-05/0.4309, allocations: 26.56 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.4309, allocations: 2.156 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.431, allocations: 6.281 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.431, allocations: 4.656 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.431, allocations: 6.094 kB / 0.5249 GB, free: 15.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.4313, allocations: 247.2 kB / 0.5252 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.807e-05/0.4314, allocations: 89.03 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.043e-05/0.4314, allocations: 6.75 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.044e-05/0.4315, allocations: 8.969 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.935e-05/0.4316, allocations: 12.69 kB / 0.5253 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.001e-05/0.4316, allocations: 7.344 kB / 0.5253 GB, free: 14.99 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001003/0.4317, allocations: 136.6 kB / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4317, allocations: 0 / 0.5254 GB, free: 14.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.4319, allocations: 27.33 kB / 0.5254 GB, free: 14.9 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.0009966/0.4329, allocations: 467.2 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.4333, allocations: 104.5 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4333, allocations: 0 / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.4335, allocations: 59.84 kB / 0.526 GB, free: 14.63 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003206/0.4338, allocations: 23.48 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005042/0.4343, allocations: 264.1 kB / 0.5263 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.4346, allocations: 0.7091 MB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.931e-05/0.4347, allocations: 14.16 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.841e-05/0.4347, allocations: 23 kB / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4347, allocations: 0 / 0.527 GB, free: 13.71 MB / 398.1 MB Notification: Performance of Templates: time 0.004658/0.4394, allocations: 1.562 MB / 0.5286 GB, free: 13.11 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches