Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 100.2 kB / 15.98 MB, free: 5.863 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.001637/0.001637, allocations: 188.8 kB / 16.9 MB, free: 5.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.1 MB / 222.8 MB, free: 12.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2373/0.2373, allocations: 43.52 MB / 313.6 MB, free: 0.6836 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.001667/0.001667, allocations: 74.08 kB / 382.2 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1887/0.1904, allocations: 57.78 MB / 440 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.005101/0.1955, allocations: 1.757 MB / 441.8 MB, free: 5.547 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001584/0.1972, allocations: 0.7889 MB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000156/0.1974, allocations: 4 kB / 442.6 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004255/0.1978, allocations: 31.84 kB / 442.6 MB, free: 4.715 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003107/0.1982, allocations: 47.83 kB / 442.6 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.1986, allocations: 79.34 kB / 442.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002414/0.1988, allocations: 99.69 kB / 442.8 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001563/0.199, allocations: 12.52 kB / 442.8 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1991, allocations: 39.8 kB / 442.9 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1992, allocations: 31.83 kB / 442.9 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.256e-05/0.1993, allocations: 4 kB / 442.9 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000144/0.1994, allocations: 39.98 kB / 442.9 MB, free: 4.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.483e-05/0.1995, allocations: 23.86 kB / 443 MB, free: 4.348 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.054e-05/0.1995, allocations: 39.73 kB / 443 MB, free: 4.309 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000279/0.1998, allocations: 111.6 kB / 443.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.1998, allocations: 0 / 443.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1999, allocations: 0 / 443.1 MB, free: 4.199 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.1999, allocations: 4 kB / 443.1 MB, free: 4.195 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006313/0.2005, allocations: 414.9 kB / 443.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/0.2006, allocations: 15.89 kB / 443.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.586e-05/0.2006, allocations: 8.844 kB / 443.5 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/0.2009, allocations: 204.9 kB / 443.7 MB, free: 3.48 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.2009, allocations: 4.375 kB / 443.8 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.201, allocations: 4.125 kB / 443.8 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2011, allocations: 57.67 kB / 443.8 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.2012, allocations: 4 kB / 443.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.2012, allocations: 0 / 443.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.2012, allocations: 0 / 443.8 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.559e-05/0.2013, allocations: 23.98 kB / 443.8 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.2017, allocations: 284.8 kB / 444.1 MB, free: 3.055 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.2019, allocations: 62.61 kB / 444.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.2019, allocations: 20.84 kB / 444.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.202, allocations: 0 / 444.2 MB, free: 2.961 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.2022, allocations: 67.39 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.723e-06/0.2022, allocations: 3.938 kB / 444.3 MB, free: 2.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005936/0.2028, allocations: 185.1 kB / 444.4 MB, free: 2.691 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.508e-05/0.2029, allocations: 55.41 kB / 444.5 MB, free: 2.625 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2031, allocations: 190.1 kB / 444.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.2031, allocations: 29.7 kB / 444.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.2031, allocations: 100.1 kB / 444.8 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/0.2032, allocations: 23.66 kB / 444.8 MB, free: 2.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/0.2032, allocations: 25.7 kB / 444.9 MB, free: 2.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.619e-05/0.2033, allocations: 326.8 kB / 445.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.2033, allocations: 19.94 kB / 445.2 MB, free: 1.891 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.521e-05/0.2034, allocations: 41.7 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.2035, allocations: 57.7 kB / 445.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2035, allocations: 0 / 445.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001783/0.2037, allocations: 97.52 kB / 445.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.2037, allocations: 11.98 kB / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.2038, allocations: 0 / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.2038, allocations: 0 / 445.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.2039, allocations: 20.03 kB / 445.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.2039, allocations: 7.938 kB / 445.4 MB, free: 1.641 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.204, allocations: 3.938 kB / 445.4 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.204, allocations: 7.984 kB / 445.4 MB, free: 1.629 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.943e-05/0.2041, allocations: 125.8 kB / 445.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.2041, allocations: 15.81 kB / 445.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.706e-05/0.2042, allocations: 16.7 kB / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2042, allocations: 0 / 445.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.2042, allocations: 4 kB / 445.6 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2042, allocations: 3.938 kB / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003863/0.2046, allocations: 391.3 kB / 446 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2046, allocations: 0 / 446 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.147e-05/0.2047, allocations: 8 kB / 446 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.2047, allocations: 0 / 446 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2047, allocations: 11.92 kB / 446 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2047, allocations: 0 / 446 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2047, allocations: 4.031 kB / 446 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001922/0.2049, allocations: 204.2 kB / 446.2 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.715e-05/0.2049, allocations: 85.02 kB / 446.3 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.205, allocations: 7.875 kB / 446.3 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.866e-05/0.205, allocations: 8.359 kB / 446.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.023e-05/0.2051, allocations: 0 / 446.3 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.2051, allocations: 12 kB / 446.3 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.563e-05/0.2052, allocations: 143.2 kB / 446.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2052, allocations: 0 / 446.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.2055, allocations: 23.91 kB / 446.5 MB, free: 484 kB / 318.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001098/0.2066, allocations: 470.9 kB / 446.9 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.2068, allocations: 59.92 kB / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.2068, allocations: 0 / 447 MB, free: 28 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001024/0.2069, allocations: 35.97 kB / 447 MB, free: 15.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.2074, allocations: 27.88 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.2079, allocations: 243.4 kB / 447.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2082, allocations: 0.7041 MB / 448 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.585e-05/0.2083, allocations: 25.11 kB / 448 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.2084, allocations: 15.44 kB / 448 MB, free: 14.93 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2084, allocations: 0 / 448 MB, free: 14.93 MB / 334.1 MB Notification: Performance of Templates: time 0.005912/0.2143, allocations: 1.67 MB / 449.7 MB, free: 13.27 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches