Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 113.8 kB / 17.78 MB, free: 5.285 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.001326/0.001327, allocations: 179.9 kB / 18.71 MB, free: 4.367 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.411/1.411, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2332/0.2332, allocations: 44.18 MB / 336.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 59.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5145, allocations: 60.83 MB / 0.5189 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003452/0.518, allocations: 1.578 MB / 0.5205 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001694/0.5197, allocations: 1.025 MB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.177e-05/0.5198, allocations: 8.812 kB / 0.5215 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.5201, allocations: 16.56 kB / 0.5215 GB, free: 1.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002119/0.5203, allocations: 45.03 kB / 0.5215 GB, free: 1.754 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002826/0.5206, allocations: 93.59 kB / 0.5216 GB, free: 1.703 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.5208, allocations: 60.72 kB / 0.5217 GB, free: 1.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.5209, allocations: 19.8 kB / 0.5217 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.546e-05/0.521, allocations: 32.2 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000533/0.5215, allocations: 30.08 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.5216, allocations: 4.562 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.5217, allocations: 52.11 kB / 0.5218 GB, free: 1.621 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.005e-05/0.5218, allocations: 9.312 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.5219, allocations: 27.23 kB / 0.5218 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.5221, allocations: 102.3 kB / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.5221, allocations: 2.016 kB / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.398e-06/0.5222, allocations: 0 / 0.5219 GB, free: 1.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.5222, allocations: 3.938 kB / 0.522 GB, free: 1.547 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005787/0.5228, allocations: 383.4 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.5228, allocations: 9.656 kB / 0.5223 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.5229, allocations: 9.219 kB / 0.5223 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.5231, allocations: 192.4 kB / 0.5225 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5231, allocations: 5.531 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.141e-05/0.5232, allocations: 3.531 kB / 0.5225 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.5234, allocations: 76.42 kB / 0.5226 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5234, allocations: 4 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.5234, allocations: 1.469 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.5234, allocations: 1.031 kB / 0.5226 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.5236, allocations: 33.91 kB / 0.5226 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003759/0.5239, allocations: 293.1 kB / 0.5229 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.5241, allocations: 52.3 kB / 0.523 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.5241, allocations: 24.98 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.5242, allocations: 1.406 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.5242, allocations: 35.12 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 9.81e-07/0.5242, allocations: 1.219 kB / 0.523 GB, free: 496 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006422/0.5249, allocations: 176.8 kB / 0.5232 GB, free: 412 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5249, allocations: 84.02 kB / 0.5233 GB, free: 312 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.5251, allocations: 146 kB / 0.5234 GB, free: 192 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5251, allocations: 26.86 kB / 0.5234 GB, free: 160 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.5251, allocations: 97.69 kB / 0.5235 GB, free: 64 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.5252, allocations: 28.62 kB / 0.5236 GB, free: 40 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.894e-05/0.5252, allocations: 21.69 kB / 0.5236 GB, free: 20 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.5254, allocations: 320 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.781e-05/0.5255, allocations: 26.14 kB / 0.5239 GB, free: 15.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.278e-05/0.5256, allocations: 40.64 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.5258, allocations: 66.75 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.5258, allocations: 1.031 kB / 0.524 GB, free: 15.64 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002101/0.526, allocations: 95.34 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.526, allocations: 6.5 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.526, allocations: 4.031 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.5261, allocations: 1.094 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.5262, allocations: 17.23 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.5262, allocations: 1.719 kB / 0.5241 GB, free: 15.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.061e-05/0.5262, allocations: 13.09 kB / 0.5241 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.5263, allocations: 2.469 kB / 0.5242 GB, free: 15.58 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.0001149/0.5264, allocations: 118.3 kB / 0.5243 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/0.5264, allocations: 9.141 kB / 0.5243 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.5267, allocations: 112.7 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.5267, allocations: 2.031 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.5268, allocations: 0 / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5268, allocations: 4.641 kB / 0.5244 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005891/0.5274, allocations: 378.4 kB / 0.5247 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5274, allocations: 1.469 kB / 0.5247 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.36e-05/0.5275, allocations: 24.44 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.5275, allocations: 5.125 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.5275, allocations: 1.125 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.5275, allocations: 1.172 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.5275, allocations: 1.125 kB / 0.5248 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.5278, allocations: 200.9 kB / 0.525 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.5278, allocations: 83.89 kB / 0.5251 GB, free: 14.78 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.5279, allocations: 13.66 kB / 0.5251 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.528, allocations: 13.23 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.018e-05/0.528, allocations: 5.125 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.528, allocations: 2.344 kB / 0.5251 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001035/0.5281, allocations: 106.5 kB / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5281, allocations: 0 / 0.5252 GB, free: 14.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.5284, allocations: 27 kB / 0.5252 GB, free: 14.67 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001042/0.5295, allocations: 448.8 kB / 0.5256 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.5297, allocations: 64.84 kB / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5297, allocations: 0 / 0.5257 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.096e-05/0.5298, allocations: 35.25 kB / 0.5257 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.5302, allocations: 22.03 kB / 0.5258 GB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.5306, allocations: 184.5 kB / 0.5259 GB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.5309, allocations: 0.6991 MB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.187e-05/0.531, allocations: 15.52 kB / 0.5266 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.5311, allocations: 19.17 kB / 0.5266 GB, free: 13.55 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.5311, allocations: 1.656 kB / 0.5267 GB, free: 13.55 MB / 398.1 MB Notification: Performance of Templates: time 0.004993/0.5361, allocations: 1.447 MB / 0.5281 GB, free: 13.15 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches