Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.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.Test3,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.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,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.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 108.7 kB / 18.45 MB, free: 4.645 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.001165/0.001165, allocations: 183.1 kB / 19.38 MB, free: 3.723 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.247/1.247, allocations: 222.9 MB / 243.1 MB, free: 15.18 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.1783/0.1783, allocations: 44.18 MB / 337.4 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 67.91 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3035, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.003022/0.3066, allocations: 1.584 MB / 0.5211 GB, free: 2.516 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007261/0.3074, allocations: 409.8 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.521e-05/0.3075, allocations: 1 kB / 0.5215 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3078, allocations: 64.12 kB / 0.5216 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.308, allocations: 65.75 kB / 0.5217 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003216/0.3084, allocations: 89.81 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.3086, allocations: 70.98 kB / 0.5218 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3087, allocations: 18.8 kB / 0.5218 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.621e-05/0.3088, allocations: 31.66 kB / 0.5219 GB, free: 2.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.3089, allocations: 47.48 kB / 0.5219 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.3089, allocations: 3.344 kB / 0.5219 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.309, allocations: 47.86 kB / 0.5219 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.867e-05/0.3091, allocations: 13.61 kB / 0.522 GB, free: 2.078 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.12e-05/0.3092, allocations: 33.53 kB / 0.522 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3094, allocations: 98.16 kB / 0.5221 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.3094, allocations: 0 / 0.5221 GB, free: 2.008 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3094, allocations: 1.188 kB / 0.5221 GB, free: 2.008 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3094, allocations: 0 / 0.5221 GB, free: 2.008 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.0004563/0.3099, allocations: 395.8 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.3099, allocations: 9.438 kB / 0.5225 GB, free: 1.617 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.31, allocations: 13.59 kB / 0.5225 GB, free: 1.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.3102, allocations: 197.2 kB / 0.5227 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.3102, allocations: 5.5 kB / 0.5227 GB, free: 1.391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3102, allocations: 11.08 kB / 0.5227 GB, free: 1.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.3104, allocations: 56.83 kB / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.3104, allocations: 0 / 0.5227 GB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3104, allocations: 5.25 kB / 0.5227 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.3104, allocations: 0.5625 kB / 0.5228 GB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.3105, allocations: 25.69 kB / 0.5228 GB, free: 1.332 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003312/0.3109, allocations: 292.6 kB / 0.5231 GB, free: 1.039 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.976e-05/0.311, allocations: 46.25 kB / 0.5231 GB, free: 1.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.556e-05/0.311, allocations: 18.36 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.311, allocations: 3.109 kB / 0.5231 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.3111, allocations: 39.2 kB / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3111, allocations: 0 / 0.5232 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008503/0.3119, allocations: 214 kB / 0.5234 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.312, allocations: 53.02 kB / 0.5234 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.3122, allocations: 196.9 kB / 0.5236 GB, free: 0.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.207e-06/0.3122, allocations: 26.73 kB / 0.5236 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.125e-05/0.3122, allocations: 104.4 kB / 0.5237 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3122, allocations: 25.23 kB / 0.5237 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.3123, allocations: 19.92 kB / 0.5238 GB, free: 0.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.3123, allocations: 322.3 kB / 0.5241 GB, free: 188 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.035e-05/0.3124, allocations: 22 kB / 0.5241 GB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.718e-05/0.3125, allocations: 35.09 kB / 0.5241 GB, free: 168 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001372/0.3126, allocations: 64.39 kB / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3127, allocations: 0 / 0.5242 GB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001933/0.3129, allocations: 104.4 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3129, allocations: 4.75 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.3129, allocations: 1.031 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.3129, allocations: 0.5625 kB / 0.5243 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.558e-05/0.313, allocations: 25.45 kB / 0.5243 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.313, allocations: 3.938 kB / 0.5243 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.3131, allocations: 5.438 kB / 0.5243 GB, free: 68 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.3131, allocations: 2.344 kB / 0.5243 GB, free: 68 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.0001044/0.3132, allocations: 128.9 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.3132, allocations: 10.31 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.3135, allocations: 108.7 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.3135, allocations: 5 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3135, allocations: 4.969 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3135, allocations: 0.5625 kB / 0.5246 GB, free: 15.88 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004827/0.314, allocations: 400.1 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.314, allocations: 4.734 kB / 0.525 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.832e-05/0.3141, allocations: 26.19 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3141, allocations: 0.7031 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.3141, allocations: 4.031 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3142, allocations: 3.656 kB / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3142, allocations: 0 / 0.525 GB, free: 15.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.3144, allocations: 201.6 kB / 0.5252 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.3145, allocations: 92.33 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3145, allocations: 3.406 kB / 0.5253 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.847e-05/0.3146, allocations: 8.078 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.3146, allocations: 10.75 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.23e-06/0.3146, allocations: 1.688 kB / 0.5253 GB, free: 15.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3147, allocations: 145.9 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3147, allocations: 3.938 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002595/0.315, allocations: 23.39 kB / 0.5255 GB, free: 15.13 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.001001/0.316, allocations: 463.3 kB / 0.5259 GB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.3162, allocations: 63.09 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.3163, allocations: 1.25 kB / 0.526 GB, free: 14.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.292e-05/0.3164, allocations: 38.66 kB / 0.526 GB, free: 14.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.3167, allocations: 26.56 kB / 0.526 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.3172, allocations: 271.4 kB / 0.5263 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.3174, allocations: 0.7043 MB / 0.527 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.138e-05/0.3175, allocations: 14.69 kB / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3175, allocations: 64 / 0.527 GB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.003752/0.3212, allocations: 1.681 MB / 0.5286 GB, free: 13.41 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches