Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 113.4 kB / 17.78 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.00116/0.00116, allocations: 180.1 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2089/0.2089, allocations: 44.19 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 60.05 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4148, allocations: 60.82 MB / 0.5189 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003332/0.4181, allocations: 1.645 MB / 0.5205 GB, free: 2.492 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007938/0.4189, allocations: 421.4 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.112e-05/0.419, allocations: 1 kB / 0.5209 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002763/0.4193, allocations: 68.59 kB / 0.521 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.4196, allocations: 65.14 kB / 0.5211 GB, free: 2.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.42, allocations: 129.4 kB / 0.5212 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4201, allocations: 78.61 kB / 0.5213 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.4203, allocations: 23.77 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.96e-05/0.4203, allocations: 38.44 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001231/0.4205, allocations: 57.58 kB / 0.5214 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.4205, allocations: 4.25 kB / 0.5214 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001282/0.4206, allocations: 51.36 kB / 0.5214 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.4207, allocations: 21.61 kB / 0.5215 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.983e-05/0.4208, allocations: 32.19 kB / 0.5215 GB, free: 1.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.421, allocations: 107.8 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.421, allocations: 0.6094 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.421, allocations: 1.031 kB / 0.5216 GB, free: 1.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.421, allocations: 3.938 kB / 0.5216 GB, free: 1.93 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.0005025/0.4215, allocations: 419.6 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4216, allocations: 9.344 kB / 0.522 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.4216, allocations: 10.52 kB / 0.522 GB, free: 1.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.4218, allocations: 197.7 kB / 0.5222 GB, free: 1.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.4218, allocations: 6.25 kB / 0.5222 GB, free: 1.301 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.4219, allocations: 6.906 kB / 0.5222 GB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.422, allocations: 67.88 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.422, allocations: 1.469 kB / 0.5223 GB, free: 1.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.4221, allocations: 4 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4221, allocations: 5.5 kB / 0.5223 GB, free: 1.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.4222, allocations: 34.89 kB / 0.5223 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003644/0.4226, allocations: 304.3 kB / 0.5226 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.4228, allocations: 54.03 kB / 0.5227 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.739e-05/0.4229, allocations: 28.89 kB / 0.5227 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.034e-05/0.4229, allocations: 5.344 kB / 0.5227 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.7e-05/0.423, allocations: 32.16 kB / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.352e-06/0.423, allocations: 0 / 0.5227 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001444/0.4244, allocations: 394.4 kB / 0.5231 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.007e-05/0.4245, allocations: 57.75 kB / 0.5232 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.4247, allocations: 200.5 kB / 0.5234 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.4247, allocations: 27.11 kB / 0.5234 GB, free: 0.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.087e-05/0.4248, allocations: 111.8 kB / 0.5235 GB, free: 404 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.4248, allocations: 30.88 kB / 0.5235 GB, free: 380 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-05/0.4249, allocations: 22.41 kB / 0.5235 GB, free: 360 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.777e-05/0.425, allocations: 327.3 kB / 0.5238 GB, free: 32 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.4251, allocations: 43.02 kB / 0.5239 GB, free: 20 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001145/0.4252, allocations: 44.75 kB / 0.5239 GB, free: 8 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.4255, allocations: 97.03 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4255, allocations: 1.344 kB / 0.524 GB, free: 15.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003543/0.4259, allocations: 149.6 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4259, allocations: 6.656 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4259, allocations: 0 / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.4259, allocations: 2.031 kB / 0.5242 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4261, allocations: 28.19 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4261, allocations: 2.172 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.4262, allocations: 12.62 kB / 0.5242 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.4262, allocations: 14.97 kB / 0.5242 GB, free: 15.88 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 0.0001229/0.4263, allocations: 128.2 kB / 0.5244 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.4263, allocations: 10.3 kB / 0.5244 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.4268, allocations: 168 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.4268, allocations: 5.656 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4268, allocations: 0.5156 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.4268, allocations: 10.02 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007172/0.4275, allocations: 466.9 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4275, allocations: 1.75 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.4276, allocations: 24.98 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.4277, allocations: 1.844 kB / 0.525 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.4277, allocations: 10.33 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.4277, allocations: 1.781 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4277, allocations: 0.75 kB / 0.525 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003781/0.4281, allocations: 256.5 kB / 0.5253 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.281e-05/0.4281, allocations: 85.52 kB / 0.5253 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.4282, allocations: 6.891 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.493e-05/0.4283, allocations: 9.734 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.4283, allocations: 11.97 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.4284, allocations: 4.578 kB / 0.5254 GB, free: 14.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001508/0.4285, allocations: 153.4 kB / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4285, allocations: 0 / 0.5255 GB, free: 14.88 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002829/0.4288, allocations: 27.23 kB / 0.5256 GB, free: 14.88 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.001131/0.43, allocations: 462.7 kB / 0.526 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003651/0.4303, allocations: 111.1 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4303, allocations: 1.375 kB / 0.5261 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001526/0.4305, allocations: 55.78 kB / 0.5262 GB, free: 14.61 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003781/0.4309, allocations: 23.47 kB / 0.5262 GB, free: 14.6 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.4315, allocations: 286.4 kB / 0.5265 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004055/0.4319, allocations: 0.7131 MB / 0.5271 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.992e-05/0.432, allocations: 21.84 kB / 0.5272 GB, free: 13.69 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4321, allocations: 15.33 kB / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4321, allocations: 0 / 0.5272 GB, free: 13.68 MB / 398.1 MB Notification: Performance of Templates: time 0.005154/0.4373, allocations: 1.568 MB / 0.5287 GB, free: 13.05 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches