Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 112.2 kB / 17.74 MB, free: 5.43 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.001402/0.001402, allocations: 188 kB / 18.66 MB, free: 4.508 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.427/1.427, 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.224/0.224, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 63.89 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4172, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.002866/0.4201, allocations: 1.582 MB / 0.5204 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007379/0.4209, allocations: 419.4 kB / 0.5208 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.421, allocations: 0 / 0.5208 GB, free: 2.242 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003086/0.4213, allocations: 76.44 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.4215, allocations: 64.06 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.4219, allocations: 108 kB / 0.521 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.422, allocations: 74.14 kB / 0.5211 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.4222, allocations: 19.56 kB / 0.5211 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.402e-05/0.4222, allocations: 41.61 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.4224, allocations: 53.66 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.4224, allocations: 3.438 kB / 0.5212 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4225, allocations: 42.75 kB / 0.5213 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.212e-05/0.4226, allocations: 19.84 kB / 0.5213 GB, free: 2.055 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.838e-05/0.4226, allocations: 26.56 kB / 0.5213 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.4228, allocations: 104.5 kB / 0.5214 GB, free: 1.988 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4228, allocations: 4 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.4228, allocations: 0.75 kB / 0.5214 GB, free: 1.984 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.4228, allocations: 0 / 0.5214 GB, free: 1.984 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.0004199/0.4233, allocations: 405.9 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.4233, allocations: 9.531 kB / 0.5218 GB, free: 1.586 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.4233, allocations: 8.938 kB / 0.5218 GB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001678/0.4235, allocations: 198.4 kB / 0.522 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.4235, allocations: 1.406 kB / 0.522 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.044e-05/0.4236, allocations: 2.625 kB / 0.522 GB, free: 1.367 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.4237, allocations: 66.77 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4238, allocations: 0 / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.367e-05/0.4238, allocations: 1.25 kB / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4238, allocations: 0 / 0.5221 GB, free: 1.316 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.4239, allocations: 26.88 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004384/0.4244, allocations: 303.7 kB / 0.5224 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4245, allocations: 50.36 kB / 0.5224 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4245, allocations: 19.52 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4246, allocations: 0.9688 kB / 0.5225 GB, free: 0.9688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.778e-05/0.4246, allocations: 32.16 kB / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.4246, allocations: 0 / 0.5225 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001103/0.4257, allocations: 243.2 kB / 0.5227 GB, free: 0.832 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.4258, allocations: 51.41 kB / 0.5228 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.426, allocations: 212 kB / 0.523 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.426, allocations: 25.7 kB / 0.523 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.426, allocations: 112.7 kB / 0.5231 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.022e-05/0.4261, allocations: 24.75 kB / 0.5231 GB, free: 488 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.4261, allocations: 25.7 kB / 0.5232 GB, free: 464 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.4262, allocations: 322 kB / 0.5235 GB, free: 140 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.996e-05/0.4263, allocations: 30.03 kB / 0.5235 GB, free: 132 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.259e-05/0.4264, allocations: 35.8 kB / 0.5235 GB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.4266, allocations: 70.81 kB / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4266, allocations: 0 / 0.5236 GB, free: 92 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002217/0.4268, allocations: 117.2 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.4268, allocations: 7.281 kB / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.4268, allocations: 0 / 0.5237 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.4269, allocations: 3.938 kB / 0.5237 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.427, allocations: 21.08 kB / 0.5237 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.427, allocations: 8.578 kB / 0.5237 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.229e-05/0.427, allocations: 4.922 kB / 0.5238 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.4271, allocations: 2.156 kB / 0.5238 GB, free: 12 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 (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.000141/0.4272, allocations: 132.3 kB / 0.5239 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.4272, allocations: 9.75 kB / 0.5239 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.4275, allocations: 122.3 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.4276, allocations: 1.938 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.4276, allocations: 4.547 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.4276, allocations: 3.984 kB / 0.524 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005695/0.4282, allocations: 421.2 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.4282, allocations: 1.344 kB / 0.5244 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.49e-05/0.4283, allocations: 24.28 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4283, allocations: 1.281 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-06/0.4283, allocations: 1.5 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.4283, allocations: 0.8906 kB / 0.5244 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.4283, allocations: 5.125 kB / 0.5245 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.4286, allocations: 213.6 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.4287, allocations: 92.64 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.605e-05/0.4287, allocations: 2.016 kB / 0.5247 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.4288, allocations: 9.406 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.024e-05/0.4289, allocations: 5.219 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.4289, allocations: 3.469 kB / 0.5248 GB, free: 15.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001745/0.4291, allocations: 163.2 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4291, allocations: 1.469 kB / 0.5249 GB, free: 15.07 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002752/0.4293, allocations: 22.88 kB / 0.5249 GB, free: 15.06 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.001176/0.4305, allocations: 455 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.4308, allocations: 75.52 kB / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.4308, allocations: 0 / 0.5254 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.431, allocations: 38.62 kB / 0.5255 GB, free: 14.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.4314, allocations: 28.69 kB / 0.5255 GB, free: 14.81 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.432, allocations: 264.2 kB / 0.5258 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003214/0.4323, allocations: 0.7126 MB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.672e-05/0.4324, allocations: 20.64 kB / 0.5265 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.476e-05/0.4324, allocations: 14.56 kB / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4324, allocations: 0 / 0.5265 GB, free: 13.9 MB / 398.1 MB Notification: Performance of Templates: time 0.004502/0.4369, allocations: 1.359 MB / 0.5278 GB, free: 13.5 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches