Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.484/1.484, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2204/0.2204, allocations: 34.28 MB / 295 MB, free: 14.59 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 442.7 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.246e-05/3.372e-05, allocations: 2.281 kB / 442.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.003106/0.00314, allocations: 1.662 MB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002023/0.005163, allocations: 1.274 MB / 445.6 MB, free: 2.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.393e-05/0.005237, allocations: 3.938 kB / 445.6 MB, free: 2.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002525/0.005489, allocations: 35.7 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000377/0.005866, allocations: 91.55 kB / 445.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004723/0.006338, allocations: 170.2 kB / 445.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.00653, allocations: 75.83 kB / 446 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.006667, allocations: 15.97 kB / 446 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.006764, allocations: 51.78 kB / 446.1 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.006917, allocations: 27.91 kB / 446.1 MB, free: 1.992 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.006945, allocations: 4 kB / 446.1 MB, free: 1.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002125/0.007158, allocations: 95.81 kB / 446.2 MB, free: 1.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.007248, allocations: 15.92 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.00732, allocations: 27.91 kB / 446.2 MB, free: 1.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.007694, allocations: 147.6 kB / 446.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.0077, allocations: 4 kB / 446.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.007702, allocations: 0 / 446.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.007716, allocations: 3.938 kB / 446.4 MB, free: 1.699 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007752/0.008491, allocations: 345.6 kB / 446.7 MB, free: 1.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.008537, allocations: 15.97 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.008593, allocations: 8.891 kB / 446.7 MB, free: 1.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002555/0.008849, allocations: 133.6 kB / 446.9 MB, free: 1.152 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.008862, allocations: 8.375 kB / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.866e-05/0.008891, allocations: 384 / 446.9 MB, free: 1.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.009139, allocations: 97.66 kB / 447 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.009153, allocations: 4.125 kB / 447 MB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.009168, allocations: 8.125 kB / 447 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.009173, allocations: 0 / 447 MB, free: 1.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.009324, allocations: 43.95 kB / 447 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004846/0.009809, allocations: 244.5 kB / 447.3 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001547/0.009964, allocations: 50.48 kB / 447.3 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.01005, allocations: 28.88 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.01008, allocations: 0 / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.187e-05/0.01012, allocations: 38.55 kB / 447.4 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.01013, allocations: 4 kB / 447.4 MB, free: 0.5664 MB / 366.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009006/0.01103, allocations: 229.3 kB / 447.6 MB, free: 344 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.01108, allocations: 77.11 kB / 447.7 MB, free: 248 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001851/0.01127, allocations: 145.8 kB / 447.8 MB, free: 92 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.01129, allocations: 29.7 kB / 447.9 MB, free: 56 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2194/0.2307, allocations: 91.86 kB / 448 MB, free: 19.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.544e-05/0.2307, allocations: 27.09 kB / 448 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/0.2308, allocations: 22.86 kB / 448 MB, free: 19.3 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.418e-05/0.2308, allocations: 323.1 kB / 448.3 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.231, allocations: 38.38 kB / 448.4 MB, free: 18.99 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2312, allocations: 81.81 kB / 448.4 MB, free: 18.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.2314, allocations: 90.86 kB / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.2314, allocations: 0 / 448.5 MB, free: 18.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003557/0.2318, allocations: 127.9 kB / 448.6 MB, free: 18.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2318, allocations: 7.562 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.2318, allocations: 1.938 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.2318, allocations: 0 / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.232, allocations: 20.98 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/0.232, allocations: 1.094 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.823e-05/0.2321, allocations: 12.09 kB / 448.7 MB, free: 18.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.547e-06/0.2321, allocations: 6.062 kB / 448.7 MB, free: 18.9 MB / 366.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 (7): * Single equations (assignments): 7 * 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 7.871e-05/0.2322, allocations: 123.9 kB / 448.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.356e-05/0.2322, allocations: 12.58 kB / 448.8 MB, free: 18.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.2326, allocations: 138.1 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.2326, allocations: 5.531 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.2326, allocations: 1.531 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.2326, allocations: 4.453 kB / 449 MB, free: 18.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005305/0.2331, allocations: 346.9 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.2331, allocations: 0 / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.2332, allocations: 22.84 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.2332, allocations: 4.453 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.2333, allocations: 2.984 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.2333, allocations: 1.188 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2333, allocations: 3.562 kB / 449.3 MB, free: 18.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003311/0.2336, allocations: 229 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.2336, allocations: 8.438 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.2336, allocations: 5.922 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.2337, allocations: 13.12 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.078e-05/0.2338, allocations: 5.047 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.2338, allocations: 5.688 kB / 449.6 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.186e-05/0.2339, allocations: 114.1 kB / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2339, allocations: 0 / 449.7 MB, free: 18.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003126/0.2342, allocations: 41.84 kB / 449.8 MB, free: 18.29 MB / 366.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 (7): * Single equations (assignments): 7 * 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.001852/0.236, allocations: 0.5334 MB / 450.3 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003383/0.2364, allocations: 90.5 kB / 450.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2364, allocations: 0 / 450.4 MB, free: 18.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001363/0.2365, allocations: 45.31 kB / 450.4 MB, free: 18.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.2368, allocations: 21.98 kB / 450.4 MB, free: 18.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005384/0.2374, allocations: 226.5 kB / 450.7 MB, free: 17.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.746e-05/0.2375, allocations: 83.16 kB / 450.8 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.058e-05/0.2376, allocations: 24.64 kB / 450.8 MB, free: 17.85 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.089e-05/0.2376, allocations: 19.64 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of SimCode: time 7.81e-07/0.2376, allocations: 7.938 kB / 450.8 MB, free: 17.84 MB / 366.1 MB Notification: Performance of Templates: time 0.005826/0.2434, allocations: 1.977 MB / 452.8 MB, free: 17.6 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.036909401416779]