Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.001787/0.001787, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002203/0.002203, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.553/1.553, allocations: 177.2 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3633/0.3633, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.CombiTable1Dv.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.983e-05, allocations: 5.266 kB / 375.3 MB, free: 4.961 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003298/0.003328, allocations: 1.63 MB / 376.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.004575, allocations: 0.5337 MB / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.13e-05/0.004637, allocations: 0 / 377.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003197/0.004956, allocations: 75.7 kB / 377.5 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.005306, allocations: 103.5 kB / 377.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.005658, allocations: 107.7 kB / 377.7 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.005877, allocations: 99.69 kB / 377.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005989, allocations: 11.98 kB / 377.8 MB, free: 2.387 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.006103, allocations: 47.88 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.006228, allocations: 51.88 kB / 377.9 MB, free: 2.289 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.00625, allocations: 4 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.006363, allocations: 43.92 kB / 378 MB, free: 2.242 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.996e-05/0.006423, allocations: 19.92 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.006467, allocations: 19.92 kB / 378 MB, free: 2.203 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.006686, allocations: 111.5 kB / 378.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.006691, allocations: 4 kB / 378.1 MB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.006694, allocations: 4 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.006698, allocations: 0 / 378.1 MB, free: 2.086 MB / 346.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.0005644/0.007263, allocations: 333.6 kB / 378.5 MB, free: 1.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.007297, allocations: 8.031 kB / 378.5 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.00736, allocations: 20.83 kB / 378.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.007567, allocations: 138.3 kB / 378.6 MB, free: 1.539 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.00758, allocations: 4.375 kB / 378.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.007605, allocations: 4.375 kB / 378.6 MB, free: 1.531 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.007761, allocations: 62.16 kB / 378.7 MB, free: 1.465 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.007773, allocations: 4.188 kB / 378.7 MB, free: 1.461 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.007784, allocations: 4.125 kB / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.007789, allocations: 0 / 378.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.007896, allocations: 31.97 kB / 378.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.008316, allocations: 236.5 kB / 379 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.008436, allocations: 46.5 kB / 379 MB, free: 1.109 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.297e-05/0.008499, allocations: 28.81 kB / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/0.00852, allocations: 0 / 379 MB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/0.008556, allocations: 30.56 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 7.62e-07/0.008556, allocations: 4 kB / 379.1 MB, free: 1.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009335/0.00949, allocations: 241.2 kB / 379.3 MB, free: 0.793 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.009532, allocations: 51.41 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002488/0.009781, allocations: 218.6 kB / 379.6 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.951e-05/0.009811, allocations: 37.7 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.391e-05/0.009905, allocations: 100.1 kB / 379.7 MB, free: 368 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.009939, allocations: 31.81 kB / 379.7 MB, free: 336 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.009985, allocations: 25.64 kB / 379.8 MB, free: 304 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.01018, allocations: 326.8 kB / 380.1 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.237e-05/0.01027, allocations: 31.98 kB / 380.1 MB, free: 15.94 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.439e-05/0.01036, allocations: 31.97 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.01054, allocations: 73.05 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.01054, allocations: 4 kB / 380.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002657/0.01081, allocations: 113.6 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.01082, allocations: 8 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.01082, allocations: 3.984 kB / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.01083, allocations: 0 / 380.3 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.127e-05/0.01092, allocations: 15.94 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01093, allocations: 7.984 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.534e-05/0.01098, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.01098, allocations: 0 / 380.4 MB, free: 15.67 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 0.0001205/0.0111, allocations: 137.8 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.01115, allocations: 16.33 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003038/0.01145, allocations: 131.1 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.01145, allocations: 4 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.01146, allocations: 3.984 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.01146, allocations: 3.938 kB / 380.7 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.01205, allocations: 362.9 kB / 381 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01205, allocations: 3.938 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.388e-05/0.01212, allocations: 15.98 kB / 381 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.01213, allocations: 4 kB / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.01213, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.01214, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01214, allocations: 0 / 381 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000329/0.01247, allocations: 224.1 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.796e-05/0.01248, allocations: 7.953 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.654e-05/0.0125, allocations: 4.016 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.916e-05/0.01258, allocations: 12 kB / 381.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/0.01262, allocations: 11.92 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.01263, allocations: 4 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001686/0.0128, allocations: 164.2 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0128, allocations: 0 / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002465/0.01304, allocations: 15.94 kB / 381.5 MB, free: 14.5 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.002179/0.01522, allocations: 499 kB / 382 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.01545, allocations: 75.88 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.61e-07/0.01545, allocations: 0 / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.01555, allocations: 35.98 kB / 382.1 MB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.0159, allocations: 24.05 kB / 382.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005034/0.01641, allocations: 273.4 kB / 382.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001051/0.01651, allocations: 96.8 kB / 382.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.733e-05/0.01659, allocations: 16.72 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.916e-05/0.01663, allocations: 20.5 kB / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01663, allocations: 0 / 382.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of Templates: time 0.004386/0.02101, allocations: 1.41 MB / 383.9 MB, free: 12.25 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.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.847306621959433]