Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001306, 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.00135/0.00135, 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.249/1.249, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.1847/0.1847, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3348, allocations: 60.82 MB / 0.5196 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002655/0.3375, allocations: 1.625 MB / 0.5212 GB, free: 2.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006599/0.3381, allocations: 421.5 kB / 0.5216 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.3382, allocations: 1.344 kB / 0.5216 GB, free: 2.215 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.3385, allocations: 88.61 kB / 0.5217 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002012/0.3387, allocations: 79.73 kB / 0.5217 GB, free: 2.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.339, allocations: 113.6 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3392, allocations: 97.62 kB / 0.5219 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.3393, allocations: 28.2 kB / 0.522 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.3394, allocations: 37.97 kB / 0.522 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.3395, allocations: 61.84 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3395, allocations: 4 kB / 0.5221 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.3396, allocations: 45.94 kB / 0.5221 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.367e-05/0.3397, allocations: 29.77 kB / 0.5221 GB, free: 2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.394e-05/0.3398, allocations: 41.31 kB / 0.5222 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.34, allocations: 128.8 kB / 0.5223 GB, free: 1.914 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3401, allocations: 4 kB / 0.5223 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3401, allocations: 0 / 0.5223 GB, free: 1.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.825e-06/0.3401, allocations: 1.062 kB / 0.5223 GB, free: 1.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005579/0.3406, allocations: 425.6 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/0.3407, allocations: 9 kB / 0.5227 GB, free: 1.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.3408, allocations: 19.81 kB / 0.5227 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.3409, allocations: 206 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.341, allocations: 2.094 kB / 0.5229 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.125e-05/0.341, allocations: 12.66 kB / 0.5229 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001902/0.3412, allocations: 82.05 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.3412, allocations: 1.938 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3412, allocations: 0 / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.3413, allocations: 2.188 kB / 0.523 GB, free: 1.211 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000142/0.3414, allocations: 49.89 kB / 0.5231 GB, free: 1.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004617/0.3419, allocations: 338.7 kB / 0.5234 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001457/0.342, allocations: 73.92 kB / 0.5235 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.422e-05/0.3421, allocations: 24.89 kB / 0.5235 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.3421, allocations: 9.172 kB / 0.5235 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.3422, allocations: 32.42 kB / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 9.92e-07/0.3422, allocations: 0 / 0.5235 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.001047/0.3432, allocations: 333.2 kB / 0.5239 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.3433, allocations: 51.53 kB / 0.5239 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001808/0.3434, allocations: 229.4 kB / 0.5241 GB, free: 468 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3435, allocations: 30.41 kB / 0.5241 GB, free: 432 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.3435, allocations: 114.6 kB / 0.5243 GB, free: 324 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.3435, allocations: 40.64 kB / 0.5243 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.103e-05/0.3436, allocations: 33.75 kB / 0.5243 GB, free: 264 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.199e-05/0.3437, allocations: 328 kB / 0.5246 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.3438, allocations: 43.66 kB / 0.5247 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.338e-05/0.3439, allocations: 44.25 kB / 0.5247 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.3441, allocations: 108.6 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3441, allocations: 4 kB / 0.5248 GB, free: 15.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002711/0.3444, allocations: 154.2 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.3444, allocations: 10.33 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.3444, allocations: 0 / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.3444, allocations: 5.312 kB / 0.525 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.3446, allocations: 29.25 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.3446, allocations: 1.656 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.286e-05/0.3446, allocations: 5.062 kB / 0.525 GB, free: 15.78 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3446, allocations: 7.969 kB / 0.525 GB, free: 15.78 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 (13): * Single equations (assignments): 13 * 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 9.867e-05/0.3447, allocations: 135.1 kB / 0.5252 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.3448, allocations: 14.73 kB / 0.5252 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003623/0.3452, allocations: 193.7 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3452, allocations: 1.812 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.3452, allocations: 0 / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.3452, allocations: 5.156 kB / 0.5254 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.3458, allocations: 0.4946 MB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3458, allocations: 0 / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.3459, allocations: 23.84 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.3459, allocations: 2.922 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.346, allocations: 1.906 kB / 0.5259 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.346, allocations: 5.781 kB / 0.5259 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.346, allocations: 0 / 0.5259 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.3463, allocations: 260.1 kB / 0.5261 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.641e-05/0.3463, allocations: 84.42 kB / 0.5262 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.3463, allocations: 7.344 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.165e-05/0.3464, allocations: 5.016 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3465, allocations: 11.84 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.3465, allocations: 8.234 kB / 0.5262 GB, free: 14.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001363/0.3466, allocations: 172 kB / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.3466, allocations: 0 / 0.5264 GB, free: 14.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.3469, allocations: 28.78 kB / 0.5264 GB, free: 14.75 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 (13): * Single equations (assignments): 13 * 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.0009747/0.3479, allocations: 459.5 kB / 0.5269 GB, free: 14.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3482, allocations: 117.6 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3482, allocations: 5.312 kB / 0.527 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.3483, allocations: 55.95 kB / 0.527 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.3487, allocations: 23.38 kB / 0.5271 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005648/0.3492, allocations: 357.7 kB / 0.5274 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.3495, allocations: 0.7155 MB / 0.5281 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/0.3496, allocations: 22.52 kB / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3496, allocations: 0 / 0.5281 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.003735/0.3533, allocations: 2.119 MB / 0.5302 GB, free: 12.58 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches