Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,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_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00111/0.00111, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.296/1.296, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 104.6 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3796/0.3796, allocations: 44.83 MB / 392.7 MB, free: 34.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3074, allocations: 62.01 MB / 0.5151 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.002795/0.3102, allocations: 1.678 MB / 0.5168 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008424/0.3111, allocations: 0.5369 MB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.829e-05/0.3112, allocations: 4 kB / 0.5173 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.3114, allocations: 74.09 kB / 0.5174 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.3117, allocations: 92.98 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002823/0.312, allocations: 96.98 kB / 0.5176 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.3121, allocations: 80.73 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.943e-05/0.3123, allocations: 20.33 kB / 0.5177 GB, free: 36.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.671e-05/0.3123, allocations: 33.64 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.991e-05/0.3124, allocations: 54.98 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.3124, allocations: 2.5 kB / 0.5177 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.937e-05/0.3125, allocations: 42.53 kB / 0.5178 GB, free: 36.13 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.3126, allocations: 23.83 kB / 0.5178 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.57e-05/0.3126, allocations: 29.48 kB / 0.5178 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001727/0.3128, allocations: 99.41 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3128, allocations: 4 kB / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.3128, allocations: 0 / 0.5179 GB, free: 36.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.3129, allocations: 0 / 0.5179 GB, free: 36.05 MB / 378.7 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.0004289/0.3133, allocations: 415.7 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.3133, allocations: 8.719 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.091e-05/0.3134, allocations: 14.47 kB / 0.5184 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.3135, allocations: 198.2 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.3135, allocations: 3.312 kB / 0.5185 GB, free: 35.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.257e-05/0.3136, allocations: 7.219 kB / 0.5186 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.3137, allocations: 60.03 kB / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.3137, allocations: 0 / 0.5186 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.3137, allocations: 6.828 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3138, allocations: 0 / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.934e-05/0.3138, allocations: 30.64 kB / 0.5186 GB, free: 35.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.3142, allocations: 299 kB / 0.5189 GB, free: 35.06 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.308e-05/0.3143, allocations: 54.5 kB / 0.519 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.3143, allocations: 20.97 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.3144, allocations: 2.938 kB / 0.519 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.3144, allocations: 30.56 kB / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.3144, allocations: 0 / 0.519 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008071/0.3152, allocations: 232.3 kB / 0.5193 GB, free: 34.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.3152, allocations: 54.38 kB / 0.5193 GB, free: 34.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001469/0.3154, allocations: 213.8 kB / 0.5195 GB, free: 34.69 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/0.3154, allocations: 28.61 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.956e-05/0.3155, allocations: 112.6 kB / 0.5196 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.3155, allocations: 29.81 kB / 0.5197 GB, free: 34.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.3155, allocations: 19.8 kB / 0.5197 GB, free: 34.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.3156, allocations: 324.8 kB / 0.52 GB, free: 34.19 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.3157, allocations: 35.22 kB / 0.52 GB, free: 34.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.3157, allocations: 32.08 kB / 0.5201 GB, free: 34.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.3159, allocations: 80.06 kB / 0.5201 GB, free: 34.14 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3159, allocations: 7.938 kB / 0.5202 GB, free: 34.13 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001823/0.3161, allocations: 107.7 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.3161, allocations: 9.234 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3161, allocations: 0 / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.3161, allocations: 0 / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.937e-05/0.3162, allocations: 21.27 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3162, allocations: 0 / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.3163, allocations: 6.875 kB / 0.5203 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.3163, allocations: 6.844 kB / 0.5203 GB, free: 34.06 MB / 378.7 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 6.697e-05/0.3164, allocations: 128.9 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3164, allocations: 12.84 kB / 0.5204 GB, free: 33.94 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/0.3167, allocations: 129.1 kB / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.504e-06/0.3167, allocations: 0 / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3167, allocations: 0 / 0.5206 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.3167, allocations: 14.16 kB / 0.5206 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003974/0.3171, allocations: 413.1 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3171, allocations: 6.375 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.3172, allocations: 11.56 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.3172, allocations: 10.08 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3172, allocations: 0 / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.3172, allocations: 2.906 kB / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3172, allocations: 0 / 0.521 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003941/0.3176, allocations: 0.8135 MB / 0.5218 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.59e-05/0.3177, allocations: 87.38 kB / 0.5219 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.3177, allocations: 4 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.82e-05/0.3178, allocations: 9.688 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.729e-05/0.3178, allocations: 5.719 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3178, allocations: 2.469 kB / 0.5219 GB, free: 32.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.336e-05/0.3179, allocations: 171.7 kB / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3179, allocations: 0 / 0.5221 GB, free: 32.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003321/0.3183, allocations: 29.27 kB / 0.5221 GB, free: 32.51 MB / 378.7 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.000852/0.3191, allocations: 458.4 kB / 0.5225 GB, free: 32.28 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001952/0.3193, allocations: 73.47 kB / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3193, allocations: 0 / 0.5226 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.242e-05/0.3194, allocations: 43.88 kB / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.3197, allocations: 17.16 kB / 0.5226 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004397/0.3202, allocations: 422.8 kB / 0.5231 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001287/0.3203, allocations: 0.7136 MB / 0.5237 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.081e-05/0.3204, allocations: 15.27 kB / 0.5238 GB, free: 31.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.3204, allocations: 15.94 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of SimCode: time 2e-07/0.3204, allocations: 2.625 kB / 0.5238 GB, free: 31.2 MB / 378.7 MB Notification: Performance of Templates: time 0.003152/0.3236, allocations: 1.351 MB / 0.5251 GB, free: 31.04 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches