Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 100.1 kB / 15.98 MB, free: 6.352 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.001373/0.001374, allocations: 192.9 kB / 16.91 MB, free: 6.191 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.81/1.81, allocations: 205.1 MB / 222.8 MB, free: 4.688 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.4344/0.4344, allocations: 43.49 MB / 313.6 MB, free: 8.488 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.001624/0.001624, allocations: 67.91 kB / 382.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1924, allocations: 57.78 MB / 440 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.004674/0.1972, allocations: 1.614 MB / 441.6 MB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008726/0.1981, allocations: 315.6 kB / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.875e-05/0.1982, allocations: 0 / 441.9 MB, free: 12.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.1985, allocations: 15.92 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002928/0.1989, allocations: 35.84 kB / 442 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003238/0.1992, allocations: 59.92 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003654/0.1996, allocations: 55.84 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001657/0.1998, allocations: 19.97 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.439e-05/0.1999, allocations: 23.86 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.781e-05/0.1999, allocations: 15.92 kB / 442.1 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.442e-05/0.2, allocations: 4 kB / 442.2 MB, free: 12.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.2001, allocations: 28 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.2002, allocations: 19.91 kB / 442.2 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.426e-05/0.2003, allocations: 19.81 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.2005, allocations: 80.02 kB / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.2006, allocations: 0 / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.517e-06/0.2006, allocations: 0 / 442.3 MB, free: 12.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.2006, allocations: 0 / 442.3 MB, free: 12.42 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007528/0.2013, allocations: 379.1 kB / 442.7 MB, free: 12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/0.2014, allocations: 11.89 kB / 442.7 MB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.642e-05/0.2015, allocations: 8.844 kB / 442.7 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.2018, allocations: 180.3 kB / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2018, allocations: 384 / 442.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.2019, allocations: 12.38 kB / 442.9 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.2021, allocations: 53.73 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.2021, allocations: 0 / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.2022, allocations: 4 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2022, allocations: 0 / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.2023, allocations: 23.98 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.2028, allocations: 268.9 kB / 443.2 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.2031, allocations: 50.5 kB / 443.3 MB, free: 11.3 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.804e-05/0.2032, allocations: 16.94 kB / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.2033, allocations: 0 / 443.3 MB, free: 11.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.748e-05/0.2033, allocations: 30.56 kB / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.422e-06/0.2033, allocations: 0 / 443.3 MB, free: 11.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007194/0.204, allocations: 149.2 kB / 443.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.2041, allocations: 51.41 kB / 443.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002277/0.2044, allocations: 145.8 kB / 443.7 MB, free: 10.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2044, allocations: 25.7 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.2045, allocations: 96.12 kB / 443.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.358e-05/0.2046, allocations: 19.66 kB / 443.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.028e-05/0.2046, allocations: 17.72 kB / 443.8 MB, free: 10.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2049, allocations: 330.7 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.488e-05/0.2049, allocations: 19.98 kB / 444.2 MB, free: 10.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.143e-05/0.205, allocations: 15.98 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.2052, allocations: 44.83 kB / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.2052, allocations: 0 / 444.2 MB, free: 10.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002272/0.2054, allocations: 85.55 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.2055, allocations: 4 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.2055, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.2055, allocations: 0 / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.051e-05/0.2056, allocations: 15.98 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.2056, allocations: 0 / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.434e-05/0.2057, allocations: 4 kB / 444.3 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2057, allocations: 256 / 444.3 MB, free: 10.18 MB / 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 (5): * Single equations (assignments): 5 * 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.0001433/0.2058, allocations: 121.8 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.2059, allocations: 15.89 kB / 444.5 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000286/0.2062, allocations: 97.91 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2062, allocations: 0 / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.2062, allocations: 0 / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.2062, allocations: 288 / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.2068, allocations: 342.4 kB / 444.9 MB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-06/0.2068, allocations: 7.938 kB / 444.9 MB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.2068, allocations: 11.98 kB / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.2069, allocations: 0 / 444.9 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.2069, allocations: 7.984 kB / 444.9 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.2069, allocations: 3.938 kB / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2069, allocations: 0 / 444.9 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.2072, allocations: 171.5 kB / 445.1 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.2073, allocations: 85.02 kB / 445.2 MB, free: 9.219 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.2073, allocations: 3.984 kB / 445.2 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.999e-05/0.2074, allocations: 7.938 kB / 445.2 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.012e-05/0.2074, allocations: 4 kB / 445.2 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-06/0.2074, allocations: 3.984 kB / 445.2 MB, free: 9.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001177/0.2076, allocations: 107.3 kB / 445.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.985e-06/0.2076, allocations: 0 / 445.3 MB, free: 9.094 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2079, allocations: 19.94 kB / 445.3 MB, free: 9.074 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001168/0.2091, allocations: 405.5 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002709/0.2093, allocations: 43.97 kB / 445.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.2094, allocations: 0 / 445.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.2094, allocations: 27.92 kB / 445.8 MB, free: 8.633 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.21, allocations: 31 kB / 445.8 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005831/0.2106, allocations: 181.4 kB / 446 MB, free: 8.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004282/0.211, allocations: 0.6924 MB / 446.7 MB, free: 7.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.2111, allocations: 12.22 kB / 446.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.2111, allocations: 15.44 kB / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of SimCode: time 8.62e-07/0.2111, allocations: 0 / 446.7 MB, free: 7.656 MB / 382.1 MB Notification: Performance of Templates: time 0.004688/0.2158, allocations: 1.05 MB / 447.8 MB, free: 6.605 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches