Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.001027/0.001027, allocations: 80.41 kB / 22.21 MB, free: 2.289 MB / 18.57 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.001909/0.001909, allocations: 170.4 kB / 25.61 MB, free: 8.902 MB / 18.57 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.006/1.006, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 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.1385/0.1385, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.274e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002177/0.002199, allocations: 1.699 MB / 379 MB, free: 23.86 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007002/0.0029, allocations: 0.5646 MB / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.42e-05/0.002964, allocations: 0 / 379.6 MB, free: 23.29 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.003206, allocations: 83.64 kB / 379.6 MB, free: 23.21 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.003451, allocations: 103.5 kB / 379.7 MB, free: 23.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.003772, allocations: 175.5 kB / 379.9 MB, free: 22.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.003915, allocations: 95.73 kB / 380 MB, free: 22.84 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.004017, allocations: 20.22 kB / 380 MB, free: 22.82 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.162e-05/0.004078, allocations: 51.88 kB / 380.1 MB, free: 22.77 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.121e-05/0.004169, allocations: 51.88 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.004184, allocations: 4 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.004274, allocations: 55.84 kB / 380.2 MB, free: 22.66 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.881e-05/0.004332, allocations: 31.86 kB / 380.2 MB, free: 22.62 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.425e-05/0.004357, allocations: 19.92 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.004502, allocations: 103.6 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.004506, allocations: 7.938 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.004507, allocations: 0 / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004511, allocations: 0 / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003409/0.004852, allocations: 451.8 kB / 380.8 MB, free: 22.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.004888, allocations: 15.98 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.004925, allocations: 16.78 kB / 380.8 MB, free: 21.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.005039, allocations: 145.4 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.005049, allocations: 4.375 kB / 381 MB, free: 21.82 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.005067, allocations: 4.375 kB / 381 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.005172, allocations: 62.94 kB / 381 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.005183, allocations: 8.172 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-06/0.00519, allocations: 4.125 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.005196, allocations: 4 kB / 381 MB, free: 21.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.552e-05/0.005222, allocations: 11.94 kB / 381.1 MB, free: 21.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.005477, allocations: 284.3 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.00562, allocations: 47.08 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/0.005643, allocations: 19.8 kB / 381.4 MB, free: 21.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.005663, allocations: 3.938 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.005678, allocations: 37.39 kB / 381.4 MB, free: 21.28 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 1.212e-06/0.005679, allocations: 4 kB / 381.4 MB, free: 21.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004992/0.006179, allocations: 217.2 kB / 381.7 MB, free: 21.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.0062, allocations: 51.41 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.006287, allocations: 241.8 kB / 381.9 MB, free: 20.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-06/0.006293, allocations: 25.7 kB / 382 MB, free: 20.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.66e-05/0.00633, allocations: 162.8 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.006354, allocations: 39.69 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.006385, allocations: 31.36 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.006431, allocations: 0.5039 MB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.892e-05/0.006449, allocations: 15.98 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.006467, allocations: 8 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.471e-05/0.006512, allocations: 43.66 kB / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.006513, allocations: 0 / 382.8 MB, free: 19.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 8.66e-05/0.0066, allocations: 93.47 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.006611, allocations: 4 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.006616, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.375e-06/0.006624, allocations: 0 / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.388e-05/0.006688, allocations: 27.98 kB / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.096e-06/0.006691, allocations: 0 / 382.9 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.006716, allocations: 12.55 kB / 382.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.006722, allocations: 4 kB / 382.9 MB, free: 19.73 MB / 314.7 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 (11): * Single equations (assignments): 11 * 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 4.678e-05/0.006769, allocations: 160.5 kB / 383.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.006793, allocations: 15.91 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.00692, allocations: 119 kB / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.006922, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.084e-06/0.006924, allocations: 0 / 383.2 MB, free: 19.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.006927, allocations: 4 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002579/0.007185, allocations: 397.1 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.007186, allocations: 0 / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.894e-05/0.007235, allocations: 23.98 kB / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.007238, allocations: 0 / 383.6 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.007245, allocations: 4 kB / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.007246, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.007248, allocations: 0 / 383.6 MB, free: 18.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.007351, allocations: 267.5 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.699e-06/0.00736, allocations: 16.02 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.007372, allocations: 0 / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.907e-05/0.007411, allocations: 4 kB / 383.9 MB, free: 18.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.007443, allocations: 19.91 kB / 383.9 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.007448, allocations: 4 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.098e-05/0.007489, allocations: 168.1 kB / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007489, allocations: 0 / 384.1 MB, free: 18.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001761/0.007665, allocations: 27.94 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009709/0.008636, allocations: 435.6 kB / 384.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.008744, allocations: 59.58 kB / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.008745, allocations: 0 / 384.6 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.095e-05/0.008776, allocations: 35.61 kB / 384.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002238/0.009, allocations: 26.83 kB / 384.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.009336, allocations: 280.3 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.009368, allocations: 83.19 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.092e-05/0.009409, allocations: 24.59 kB / 385 MB, free: 17.62 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.306e-05/0.009462, allocations: 86.19 kB / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of SimCode: time 7.01e-07/0.009463, allocations: 0 / 385.1 MB, free: 17.54 MB / 314.7 MB Notification: Performance of Templates: time 0.003192/0.01266, allocations: 1.837 MB / 386.9 MB, free: 15.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1407380369491875]