Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001307/0.001307, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00122/0.00122, allocations: 165 kB / 24.56 MB, free: 12 kB / 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 0.9798/0.9798, allocations: 177.1 MB / 205 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] 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.2711/0.2711, allocations: 34.26 MB / 295.7 MB, free: 0.7422 MB / 266.7 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.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 378.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.747e-05/1.875e-05, allocations: 2.312 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.002095/0.002114, allocations: 1.653 MB / 379.7 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007184/0.002832, allocations: 0.5453 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.45e-05/0.002887, allocations: 0 / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.003153, allocations: 83.69 kB / 380.3 MB, free: 320 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.003437, allocations: 111.5 kB / 380.4 MB, free: 208 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.003665, allocations: 111.6 kB / 380.6 MB, free: 96 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003798, allocations: 79.81 kB / 380.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.567e-05/0.003883, allocations: 15.92 kB / 380.7 MB, free: 0 / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.978e-05/0.003943, allocations: 43.89 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.845e-05/0.004032, allocations: 59.86 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.004045, allocations: 7.938 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.474e-05/0.00412, allocations: 39.94 kB / 380.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.228e-05/0.004162, allocations: 27.91 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.716e-05/0.00419, allocations: 15.92 kB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.004327, allocations: 87.67 kB / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004329, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.00433, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.004333, allocations: 0 / 380.9 MB, free: 15.72 MB / 362.7 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.0003767/0.00471, allocations: 447.9 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.004742, allocations: 15.97 kB / 381.4 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.419e-05/0.004786, allocations: 12.84 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.004917, allocations: 149.1 kB / 381.5 MB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-06/0.004925, allocations: 4.375 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/0.004944, allocations: 4.375 kB / 381.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.005053, allocations: 62.92 kB / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.005064, allocations: 192 / 381.6 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005074, allocations: 8.125 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.005081, allocations: 4 kB / 381.6 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.005114, allocations: 7.984 kB / 381.6 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002842/0.005398, allocations: 299.7 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.032e-05/0.005458, allocations: 35.16 kB / 382 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.236e-05/0.00548, allocations: 19.61 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.0055, allocations: 12 kB / 382 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.998e-05/0.00552, allocations: 37.33 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.41e-07/0.005521, allocations: 0 / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004754/0.005996, allocations: 173.3 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.006027, allocations: 51.41 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.006157, allocations: 242.4 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.006169, allocations: 29.7 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.38e-05/0.006222, allocations: 150.9 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/0.006246, allocations: 35.69 kB / 382.7 MB, free: 13.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-05/0.006281, allocations: 31.36 kB / 382.7 MB, free: 13.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.006395, allocations: 0.5 MB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.006414, allocations: 8 kB / 383.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.828e-05/0.006433, allocations: 11.98 kB / 383.2 MB, free: 13.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.671e-05/0.006479, allocations: 35.62 kB / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.00648, allocations: 0 / 383.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.421e-05/0.006564, allocations: 73.59 kB / 383.3 MB, free: 13.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.006577, allocations: 5.719 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.006583, allocations: 8 kB / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.006595, allocations: 0 / 383.4 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.608e-05/0.006661, allocations: 19.98 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.006667, allocations: 0 / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.006686, allocations: 8 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.006692, allocations: 0 / 383.4 MB, free: 13.05 MB / 362.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 (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 6.61e-05/0.006758, allocations: 168.4 kB / 383.6 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.046e-05/0.006778, allocations: 15.91 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.006905, allocations: 87.12 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.006907, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.00691, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.006912, allocations: 0 / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002784/0.007191, allocations: 393.4 kB / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.007192, allocations: 0 / 384 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.007225, allocations: 15.98 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.007227, allocations: 0 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.007235, allocations: 4 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.007236, allocations: 3.938 kB / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.007237, allocations: 432 / 384.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.007352, allocations: 235.5 kB / 384.3 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.095e-06/0.00736, allocations: 7.953 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.007372, allocations: 4 kB / 384.3 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.285e-05/0.007405, allocations: 12.02 kB / 384.3 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.988e-05/0.007435, allocations: 11.92 kB / 384.3 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.007439, allocations: 3.984 kB / 384.3 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.173e-05/0.007511, allocations: 171.2 kB / 384.5 MB, free: 11.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007511, allocations: 3.938 kB / 384.5 MB, free: 11.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001616/0.007672, allocations: 23.94 kB / 384.5 MB, free: 11.83 MB / 362.7 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.000885/0.008557, allocations: 435 kB / 384.9 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.008662, allocations: 39.67 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008664, allocations: 4 kB / 385 MB, free: 11.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.008695, allocations: 35.61 kB / 385 MB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002006/0.008895, allocations: 19.94 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000322/0.009217, allocations: 241.8 kB / 385.3 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.173e-05/0.009259, allocations: 71.34 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.906e-05/0.009298, allocations: 21.06 kB / 385.4 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.938e-05/0.009327, allocations: 20.5 kB / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009328, allocations: 0 / 385.4 MB, free: 11.05 MB / 362.7 MB Notification: Performance of Templates: time 0.003498/0.01283, allocations: 1.505 MB / 386.9 MB, free: 9.57 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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.10931338602677]