Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.00143/0.00143, allocations: 84.08 kB / 20.68 MB, free: 1.027 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.001386/0.001386, allocations: 167.1 kB / 23.95 MB, free: 4.156 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.372/1.372, allocations: 177.2 MB / 204.3 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1984/0.1984, allocations: 32.81 MB / 293.5 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 440.1 MB, free: 8.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.616e-05, allocations: 2.281 kB / 440.1 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002818/0.002844, allocations: 1.619 MB / 441.7 MB, free: 6.496 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.003877, allocations: 0.522 MB / 442.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.762e-05/0.003935, allocations: 0 / 442.3 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.004241, allocations: 119.6 kB / 442.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003059/0.004546, allocations: 127.5 kB / 442.5 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000264/0.00481, allocations: 101.8 kB / 442.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.004987, allocations: 103.7 kB / 442.7 MB, free: 5.527 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.759e-05/0.005075, allocations: 19.86 kB / 442.7 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.438e-05/0.005169, allocations: 51.88 kB / 442.8 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001475/0.005317, allocations: 91.81 kB / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.005334, allocations: 0 / 442.9 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.005438, allocations: 51.91 kB / 442.9 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.533e-05/0.005504, allocations: 27.86 kB / 442.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.005541, allocations: 11.94 kB / 442.9 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.005755, allocations: 123.5 kB / 443.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.005758, allocations: 4 kB / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.005758, allocations: 0 / 443.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.005762, allocations: 0 / 443.1 MB, free: 5.152 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.0005326/0.006295, allocations: 365.3 kB / 443.4 MB, free: 4.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.00633, allocations: 8.031 kB / 443.4 MB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.006385, allocations: 16.84 kB / 443.4 MB, free: 4.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.006607, allocations: 149.3 kB / 443.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.006624, allocations: 4.375 kB / 443.6 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.006648, allocations: 4.375 kB / 443.6 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.006811, allocations: 54.23 kB / 443.7 MB, free: 4.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.006825, allocations: 4.188 kB / 443.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.006837, allocations: 4.125 kB / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.006842, allocations: 0 / 443.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.948e-05/0.006941, allocations: 23.98 kB / 443.7 MB, free: 4.473 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003767/0.007318, allocations: 248.4 kB / 443.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.007428, allocations: 42.5 kB / 444 MB, free: 4.148 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.007483, allocations: 20.8 kB / 444 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.007504, allocations: 96 / 444 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.007543, allocations: 42.48 kB / 444 MB, free: 4.074 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/0.007544, allocations: 4 kB / 444 MB, free: 4.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009278/0.008472, allocations: 237.5 kB / 444.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.008519, allocations: 55.41 kB / 444.3 MB, free: 3.766 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000298/0.008817, allocations: 271.9 kB / 444.6 MB, free: 3.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.008836, allocations: 25.7 kB / 444.6 MB, free: 3.457 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.8e-05/0.008924, allocations: 124.1 kB / 444.7 MB, free: 3.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/0.00896, allocations: 27.73 kB / 444.8 MB, free: 3.305 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.009001, allocations: 21.72 kB / 444.8 MB, free: 3.277 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.009152, allocations: 326.8 kB / 445.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.479e-05/0.009237, allocations: 31.97 kB / 445.1 MB, free: 2.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.153e-05/0.009318, allocations: 19.98 kB / 445.2 MB, free: 2.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001638/0.009482, allocations: 60.83 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.009483, allocations: 0 / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002324/0.009715, allocations: 113.5 kB / 445.3 MB, free: 2.719 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.009731, allocations: 8 kB / 445.3 MB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009736, allocations: 3.938 kB / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.00975, allocations: 0 / 445.3 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.009855, allocations: 15.98 kB / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.00986, allocations: 0 / 445.4 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.906e-05/0.009909, allocations: 7.984 kB / 445.4 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.009923, allocations: 4 kB / 445.4 MB, free: 2.68 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 (8): * Single equations (assignments): 8 * 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.0001179/0.01004, allocations: 143.7 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.973e-05/0.01008, allocations: 11.91 kB / 445.5 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003103/0.01039, allocations: 123.4 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.0104, allocations: 4 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.0104, allocations: 4 kB / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.01041, allocations: 0 / 445.6 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005153/0.01092, allocations: 362.9 kB / 446 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.01092, allocations: 4.031 kB / 446 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.668e-05/0.011, allocations: 15.98 kB / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.011, allocations: 0 / 446 MB, free: 1.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.01101, allocations: 4 kB / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.01101, allocations: 0 / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01101, allocations: 0 / 446 MB, free: 1.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.0113, allocations: 216.1 kB / 446.2 MB, free: 1.73 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.686e-05/0.01131, allocations: 7.953 kB / 446.2 MB, free: 1.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01134, allocations: 4 kB / 446.2 MB, free: 1.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.605e-05/0.01141, allocations: 8 kB / 446.3 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.359e-05/0.01144, allocations: 11.92 kB / 446.3 MB, free: 1.699 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.746e-06/0.01145, allocations: 4 kB / 446.3 MB, free: 1.695 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001931/0.01165, allocations: 212.1 kB / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01165, allocations: 0 / 446.5 MB, free: 1.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.01191, allocations: 27.89 kB / 446.5 MB, free: 1.461 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001805/0.01371, allocations: 492.6 kB / 447 MB, free: 1.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002261/0.01394, allocations: 63.89 kB / 447 MB, free: 1.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.01394, allocations: 4 kB / 447 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.012e-05/0.01403, allocations: 31.92 kB / 447.1 MB, free: 1.094 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003212/0.01435, allocations: 26.92 kB / 447.1 MB, free: 1.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005793/0.01493, allocations: 315.5 kB / 447.4 MB, free: 0.7305 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.01503, allocations: 97.11 kB / 447.5 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.409e-05/0.01509, allocations: 21.02 kB / 447.5 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.301e-05/0.01513, allocations: 16.5 kB / 447.5 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.01513, allocations: 4 kB / 447.5 MB, free: 0.5742 MB / 366.1 MB Notification: Performance of Templates: time 0.1594/0.1745, allocations: 1.372 MB / 448.9 MB, free: 21.33 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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: 4.46622746810317]