Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 96.7 kB / 15.7 MB, free: 468 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.001052/0.001052, allocations: 172.9 kB / 16.58 MB, free: 6.844 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.536/1.536, allocations: 205.4 MB / 222.7 MB, free: 5.656 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.5271/0.5271, allocations: 43.56 MB / 314.6 MB, free: 8.801 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.0006275/0.0006276, allocations: 20 kB / 384 MB, free: 8 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1989, allocations: 58.86 MB / 442.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003113/0.2021, allocations: 1.256 MB / 444.1 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000925/0.203, allocations: 299.8 kB / 444.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.2032, allocations: 0 / 444.4 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.2035, allocations: 11.92 kB / 444.4 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.2039, allocations: 39.84 kB / 444.4 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004731/0.2044, allocations: 55.92 kB / 444.5 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.2046, allocations: 47.84 kB / 444.5 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.2047, allocations: 7.984 kB / 444.5 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.2048, allocations: 27.84 kB / 444.6 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.814e-05/0.2049, allocations: 15.92 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.063e-05/0.2049, allocations: 0 / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.2051, allocations: 24 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.37e-05/0.2052, allocations: 15.92 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.914e-05/0.2052, allocations: 37.64 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002225/0.2055, allocations: 56.14 kB / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2055, allocations: 0 / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.23e-06/0.2055, allocations: 0 / 444.7 MB, free: 11.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.2055, allocations: 3.938 kB / 444.7 MB, free: 11.13 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.0007168/0.2062, allocations: 379 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.872e-05/0.2063, allocations: 12.02 kB / 445.1 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.2064, allocations: 11.86 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003242/0.2067, allocations: 175.1 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.2068, allocations: 4 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.2068, allocations: 4 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/0.207, allocations: 57.61 kB / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.845e-05/0.207, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.2071, allocations: 0 / 445.3 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.2071, allocations: 3.938 kB / 445.3 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.2072, allocations: 31.94 kB / 445.4 MB, free: 10.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.2078, allocations: 272.9 kB / 445.6 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003224/0.2081, allocations: 46.5 kB / 445.7 MB, free: 10 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.214e-05/0.2082, allocations: 12.95 kB / 445.7 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.781e-05/0.2083, allocations: 11.98 kB / 445.7 MB, free: 9.973 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.662e-05/0.2083, allocations: 34.56 kB / 445.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.2084, allocations: 0 / 445.7 MB, free: 9.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0008222/0.2092, allocations: 165.2 kB / 445.9 MB, free: 9.762 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/0.2093, allocations: 51.41 kB / 445.9 MB, free: 9.699 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.2095, allocations: 153.5 kB / 446.1 MB, free: 9.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.2095, allocations: 25.7 kB / 446.1 MB, free: 9.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.101e-05/0.2096, allocations: 96.12 kB / 446.2 MB, free: 9.414 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.2096, allocations: 15.75 kB / 446.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.763e-06/0.2096, allocations: 0 / 446.2 MB, free: 9.398 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002117/0.2099, allocations: 330.8 kB / 446.6 MB, free: 9.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.2099, allocations: 19.98 kB / 446.6 MB, free: 9.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.906e-05/0.21, allocations: 23.98 kB / 446.6 MB, free: 9.023 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.2101, allocations: 27.98 kB / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.2101, allocations: 0 / 446.6 MB, free: 8.996 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002079/0.2103, allocations: 85.52 kB / 446.7 MB, free: 8.906 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.2104, allocations: 7.953 kB / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.2104, allocations: 0 / 446.7 MB, free: 8.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.2104, allocations: 4 kB / 446.7 MB, free: 8.895 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.496e-05/0.2105, allocations: 15.98 kB / 446.7 MB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.2105, allocations: 4 kB / 446.7 MB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.191e-05/0.2106, allocations: 4 kB / 446.7 MB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.2106, allocations: 3.984 kB / 446.7 MB, free: 8.867 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.2107, allocations: 117.8 kB / 446.9 MB, free: 8.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.013e-05/0.2108, allocations: 3.906 kB / 446.9 MB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002788/0.2111, allocations: 110.2 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2111, allocations: 0 / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.2111, allocations: 0 / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.205e-06/0.2111, allocations: 4 kB / 447 MB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000498/0.2116, allocations: 350.6 kB / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.2116, allocations: 0 / 447.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.2117, allocations: 19.94 kB / 447.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-06/0.2117, allocations: 288 / 447.3 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.2117, allocations: 4 kB / 447.3 MB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.2117, allocations: 7.938 kB / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.2118, allocations: 0 / 447.3 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.212, allocations: 183.4 kB / 447.5 MB, free: 7.996 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.206e-05/0.2121, allocations: 92.94 kB / 447.6 MB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.2121, allocations: 3.953 kB / 447.6 MB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.2122, allocations: 7.984 kB / 447.6 MB, free: 7.875 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.043e-05/0.2123, allocations: 8 kB / 447.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.2123, allocations: 0 / 447.6 MB, free: 7.867 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001147/0.2124, allocations: 123.2 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2124, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.2127, allocations: 19.91 kB / 447.8 MB, free: 7.727 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001236/0.2139, allocations: 397.7 kB / 448.2 MB, free: 7.363 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.2142, allocations: 59.91 kB / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2142, allocations: 0 / 448.2 MB, free: 7.305 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.167e-05/0.2143, allocations: 23.98 kB / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.2148, allocations: 23.86 kB / 448.3 MB, free: 7.258 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005656/0.2153, allocations: 184.7 kB / 448.5 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/0.2159, allocations: 0.7004 MB / 449.2 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.419e-05/0.216, allocations: 7.984 kB / 449.2 MB, free: 6.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.216, allocations: 19.38 kB / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.216, allocations: 0 / 449.2 MB, free: 6.293 MB / 382.1 MB Notification: Performance of Templates: time 0.004894/0.2209, allocations: 1.002 MB / 450.2 MB, free: 5.289 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches