Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.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.CombiTable1D.Test31,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.CombiTable1D.Test31") translateModel(ModelicaTest.Tables.CombiTable1D.Test31,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.CombiTable1D.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009285/0.009286, allocations: 100.1 kB / 15.87 MB, free: 6.309 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.002289/0.002289, allocations: 197.1 kB / 16.79 MB, free: 6.238 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.699/1.699, allocations: 205.1 MB / 222.7 MB, free: 4.605 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.3998/0.3998, allocations: 43.5 MB / 313.5 MB, free: 8.602 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.0018/0.0018, allocations: 63.91 kB / 382 MB, free: 8.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.1968, allocations: 57.79 MB / 439.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test31): time 0.004731/0.2016, allocations: 1.622 MB / 441.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.2026, allocations: 315.7 kB / 441.8 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.2028, allocations: 4 kB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005234/0.2034, allocations: 119.8 kB / 441.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003071/0.2037, allocations: 79.83 kB / 441.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.2041, allocations: 83.83 kB / 442 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.2044, allocations: 79.8 kB / 442.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.2046, allocations: 19.97 kB / 442.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.2047, allocations: 39.84 kB / 442.2 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001745/0.2049, allocations: 79.78 kB / 442.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.2049, allocations: 0 / 442.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.205, allocations: 28 kB / 442.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.122e-05/0.2051, allocations: 31.89 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.2052, allocations: 31.69 kB / 442.3 MB, free: 12.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2055, allocations: 99.92 kB / 442.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.2055, allocations: 4 kB / 442.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2055, allocations: 0 / 442.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.2055, allocations: 3.938 kB / 442.4 MB, free: 12.18 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.0007091/0.2062, allocations: 426.8 kB / 442.9 MB, free: 11.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.2063, allocations: 8.031 kB / 442.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.97e-05/0.2064, allocations: 16.75 kB / 442.9 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.2067, allocations: 207.7 kB / 443.1 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.2067, allocations: 4.375 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.2068, allocations: 4.375 kB / 443.1 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.207, allocations: 53.81 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.207, allocations: 0 / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.207, allocations: 4 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.207, allocations: 0 / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.2071, allocations: 27.91 kB / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006007/0.2077, allocations: 296.9 kB / 443.5 MB, free: 11.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.2081, allocations: 46.56 kB / 443.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.2081, allocations: 16.94 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.2082, allocations: 0 / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/0.2082, allocations: 38.5 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 7.62e-07/0.2082, allocations: 0 / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000759/0.209, allocations: 165 kB / 443.7 MB, free: 10.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.2091, allocations: 55.41 kB / 443.8 MB, free: 10.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000333/0.2094, allocations: 259.3 kB / 444 MB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.2094, allocations: 29.7 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.021e-05/0.2095, allocations: 108.1 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.561e-05/0.2096, allocations: 19.72 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.633e-05/0.2097, allocations: 17.72 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.2099, allocations: 330.8 kB / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.422e-05/0.21, allocations: 23.92 kB / 444.6 MB, free: 9.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.116e-05/0.21, allocations: 23.97 kB / 444.6 MB, free: 9.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001444/0.2102, allocations: 48.83 kB / 444.6 MB, free: 9.773 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2102, allocations: 4 kB / 444.6 MB, free: 9.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002118/0.2104, allocations: 85.52 kB / 444.7 MB, free: 9.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.2105, allocations: 12 kB / 444.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.2105, allocations: 3.984 kB / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.2105, allocations: 0 / 444.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.2106, allocations: 8.281 kB / 444.7 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2106, allocations: 4 kB / 444.7 MB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.871e-05/0.2107, allocations: 8.172 kB / 444.7 MB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.2107, allocations: 4 kB / 444.8 MB, free: 9.641 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.0001441/0.2108, allocations: 141.8 kB / 444.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.2109, allocations: 19.81 kB / 444.9 MB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003119/0.2112, allocations: 110.6 kB / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.2112, allocations: 0 / 445 MB, free: 9.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.2112, allocations: 3.938 kB / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.2112, allocations: 0 / 445 MB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005451/0.2118, allocations: 362.5 kB / 445.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.2118, allocations: 8 kB / 445.4 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.2119, allocations: 11.98 kB / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.591e-06/0.2119, allocations: 0 / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.2119, allocations: 0 / 445.4 MB, free: 8.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.245e-06/0.2119, allocations: 7.875 kB / 445.4 MB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2119, allocations: 4 kB / 445.4 MB, free: 8.906 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003007/0.2122, allocations: 191.3 kB / 445.6 MB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.2123, allocations: 81.02 kB / 445.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.2124, allocations: 4 kB / 445.7 MB, free: 8.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.981e-05/0.2124, allocations: 7.922 kB / 445.7 MB, free: 8.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.2125, allocations: 4 kB / 445.7 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2125, allocations: 4 kB / 445.7 MB, free: 8.586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002082/0.2127, allocations: 207.4 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2127, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.213, allocations: 12 kB / 445.9 MB, free: 8.371 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.00113/0.2141, allocations: 413.6 kB / 446.3 MB, free: 8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.2144, allocations: 55.91 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2144, allocations: 0 / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.994e-05/0.2145, allocations: 27.97 kB / 446.4 MB, free: 7.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004665/0.215, allocations: 12 kB / 446.4 MB, free: 7.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007046/0.2157, allocations: 308.3 kB / 446.7 MB, free: 7.574 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005418/0.2162, allocations: 0.716 MB / 447.4 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.843e-05/0.2163, allocations: 15.92 kB / 447.4 MB, free: 6.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.73e-05/0.2164, allocations: 11.44 kB / 447.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2164, allocations: 0 / 447.4 MB, free: 6.809 MB / 382.1 MB Notification: Performance of Templates: time 0.00476/0.2211, allocations: 1.109 MB / 448.6 MB, free: 5.699 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test31/Test31.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches