Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009354/0.000936, allocations: 96.94 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 177.4 kB / 16.91 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.4 MB / 223.1 MB, free: 5.414 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5224/0.5224, allocations: 43.57 MB / 315 MB, free: 8.914 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007418/0.0007423, allocations: 24 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.1917, allocations: 58.86 MB / 443.5 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002597/0.1944, allocations: 1.499 MB / 445 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002488/0.1969, allocations: 1.441 MB / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.793e-05/0.197, allocations: 0 / 446.4 MB, free: 9.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000365/0.1974, allocations: 43.83 kB / 446.4 MB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.1977, allocations: 83.67 kB / 446.5 MB, free: 9.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.198, allocations: 127.8 kB / 446.6 MB, free: 9.465 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.1983, allocations: 167.5 kB / 446.8 MB, free: 9.301 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.401e-05/0.1984, allocations: 17.55 kB / 446.8 MB, free: 9.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.1985, allocations: 75.52 kB / 446.9 MB, free: 9.207 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002295/0.1988, allocations: 71.67 kB / 447 MB, free: 9.137 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.425e-05/0.1988, allocations: 4 kB / 447 MB, free: 9.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.1989, allocations: 59.97 kB / 447 MB, free: 9.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.186e-05/0.199, allocations: 27.84 kB / 447.1 MB, free: 9.047 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.046e-05/0.1991, allocations: 85.3 kB / 447.1 MB, free: 8.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002839/0.1994, allocations: 163.8 kB / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1994, allocations: 0 / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1994, allocations: 0 / 447.3 MB, free: 8.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.1995, allocations: 0 / 447.3 MB, free: 8.797 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.0007378/0.2002, allocations: 450.8 kB / 447.7 MB, free: 8.309 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.2003, allocations: 8.031 kB / 447.7 MB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.693e-05/0.2003, allocations: 16.75 kB / 447.8 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.2007, allocations: 243.6 kB / 448 MB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.2007, allocations: 4.375 kB / 448 MB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.2007, allocations: 4.125 kB / 448 MB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003385/0.2011, allocations: 105 kB / 448.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.2011, allocations: 0 / 448.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.623e-05/0.2011, allocations: 0 / 448.1 MB, free: 7.879 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.2011, allocations: 4 kB / 448.1 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001063/0.2012, allocations: 27.97 kB / 448.1 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.2016, allocations: 214.5 kB / 448.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.2019, allocations: 109.2 kB / 448.5 MB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.202, allocations: 41.64 kB / 448.5 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.2021, allocations: 7.969 kB / 448.5 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003386/0.2024, allocations: 113 kB / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 4.739e-06/0.2024, allocations: 0 / 448.6 MB, free: 7.277 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005694/0.203, allocations: 169.3 kB / 448.8 MB, free: 7.105 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.2032, allocations: 132.5 kB / 448.9 MB, free: 6.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003159/0.2035, allocations: 215.8 kB / 449.1 MB, free: 6.723 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.2035, allocations: 29.7 kB / 449.2 MB, free: 6.688 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.911e-05/0.2036, allocations: 116.1 kB / 449.3 MB, free: 6.57 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.381e-05/0.2037, allocations: 27.64 kB / 449.3 MB, free: 6.543 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.256e-05/0.2037, allocations: 17.72 kB / 449.3 MB, free: 6.52 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2039, allocations: 330.8 kB / 449.6 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.204, allocations: 23.98 kB / 449.7 MB, free: 6.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.2041, allocations: 73.14 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.2043, allocations: 87.84 kB / 449.8 MB, free: 5.977 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2043, allocations: 4 kB / 449.8 MB, free: 5.973 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002625/0.2046, allocations: 145.3 kB / 450 MB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.2046, allocations: 8 kB / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2046, allocations: 0 / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.2047, allocations: 0 / 450 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.2048, allocations: 23.98 kB / 450 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.2048, allocations: 0 / 450 MB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.046e-05/0.2049, allocations: 11.98 kB / 450 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.2049, allocations: 8 kB / 450 MB, free: 5.773 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001324/0.205, allocations: 133.7 kB / 450.1 MB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.919e-05/0.2051, allocations: 19.81 kB / 450.2 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.34e-05/0.2052, allocations: 20.98 kB / 450.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.2052, allocations: 0 / 450.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.2052, allocations: 4 kB / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2052, allocations: 0 / 450.2 MB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002231/0.2054, allocations: 229.3 kB / 450.4 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2054, allocations: 0 / 450.4 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.775e-05/0.2055, allocations: 4 kB / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.2055, allocations: 4 kB / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2055, allocations: 0 / 450.4 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.2055, allocations: 8 kB / 450.4 MB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2055, allocations: 3.984 kB / 450.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.2058, allocations: 173.6 kB / 450.6 MB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.33e-05/0.2059, allocations: 96.91 kB / 450.7 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.427e-05/0.2059, allocations: 4 kB / 450.7 MB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.206, allocations: 20.05 kB / 450.7 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.2061, allocations: 11.94 kB / 450.7 MB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.2061, allocations: 7.984 kB / 450.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.2063, allocations: 161.5 kB / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2063, allocations: 0 / 450.9 MB, free: 4.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002542/0.2065, allocations: 39.98 kB / 450.9 MB, free: 4.754 MB / 382.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001142/0.2077, allocations: 458.5 kB / 451.4 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002446/0.2079, allocations: 79.91 kB / 451.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.2079, allocations: 0 / 451.5 MB, free: 4.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.2081, allocations: 43.91 kB / 451.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.2084, allocations: 47.91 kB / 451.5 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.209, allocations: 299.1 kB / 451.8 MB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003359/0.2094, allocations: 0.7166 MB / 452.6 MB, free: 3.105 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.796e-05/0.2095, allocations: 21.55 kB / 452.6 MB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.373e-05/0.2095, allocations: 27.42 kB / 452.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.2095, allocations: 4 kB / 452.6 MB, free: 3.055 MB / 382.1 MB Notification: Performance of Templates: time 0.006248/0.2158, allocations: 2.515 MB / 455.1 MB, free: 0.5469 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches