Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.002159/0.002159, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.002352/0.002352, allocations: 169.3 kB / 24.27 MB, free: 144 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.528/1.528, allocations: 177.1 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.3869/0.3869, allocations: 32.79 MB / 293.9 MB, free: 1.195 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.727e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.291e-05/5.664e-05, allocations: 9.484 kB / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.006965/0.007022, allocations: 1.599 MB / 376.9 MB, free: 3.352 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002163/0.009185, allocations: 0.5181 MB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.531e-05/0.00926, allocations: 3.938 kB / 377.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.009561, allocations: 27.78 kB / 377.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005057/0.01007, allocations: 79.62 kB / 377.5 MB, free: 2.719 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.0106, allocations: 91.62 kB / 377.6 MB, free: 2.629 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.01084, allocations: 71.77 kB / 377.7 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.01096, allocations: 8 kB / 377.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.01109, allocations: 31.86 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.171e-05/0.01117, allocations: 11.97 kB / 377.7 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.01119, allocations: 4 kB / 377.7 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.01133, allocations: 35.92 kB / 377.8 MB, free: 2.469 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.582e-05/0.01139, allocations: 4 kB / 377.8 MB, free: 2.465 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.01146, allocations: 23.91 kB / 377.8 MB, free: 2.441 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002769/0.01173, allocations: 75.73 kB / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.01174, allocations: 0 / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.01174, allocations: 0 / 377.9 MB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.01174, allocations: 0 / 377.9 MB, free: 2.367 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007781/0.01252, allocations: 317.7 kB / 378.2 MB, free: 2.027 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/0.01258, allocations: 12.03 kB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.01266, allocations: 8.891 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003333/0.01299, allocations: 141.6 kB / 378.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.01301, allocations: 384 / 378.3 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.01304, allocations: 4.375 kB / 378.3 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.01327, allocations: 46.25 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.01329, allocations: 192 / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.01331, allocations: 8.125 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.01332, allocations: 0 / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.01349, allocations: 23.98 kB / 378.4 MB, free: 1.758 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005608/0.01405, allocations: 216.5 kB / 378.6 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.01438, allocations: 38.56 kB / 378.7 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.984e-05/0.01448, allocations: 20.94 kB / 378.7 MB, free: 1.445 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.508e-05/0.01451, allocations: 7.938 kB / 378.7 MB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/0.01456, allocations: 34.56 kB / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.854e-06/0.01456, allocations: 0 / 378.7 MB, free: 1.395 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.00104/0.0156, allocations: 145.4 kB / 378.9 MB, free: 1.246 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.632e-05/0.01569, allocations: 55.34 kB / 378.9 MB, free: 1.18 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.01599, allocations: 150.2 kB / 379.1 MB, free: 1.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.341e-05/0.01602, allocations: 25.7 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.01614, allocations: 100.1 kB / 379.2 MB, free: 0.8867 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.01618, allocations: 15.84 kB / 379.2 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.497e-05/0.01624, allocations: 17.72 kB / 379.2 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002722/0.01652, allocations: 322.8 kB / 379.5 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.01665, allocations: 11.98 kB / 379.5 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.01677, allocations: 19.98 kB / 379.6 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000264/0.01704, allocations: 48.83 kB / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.01704, allocations: 0 / 379.6 MB, free: 452 kB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003731/0.01741, allocations: 85.75 kB / 379.7 MB, free: 360 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.01743, allocations: 9.812 kB / 379.7 MB, free: 352 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.01745, allocations: 8.062 kB / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.01747, allocations: 0 / 379.7 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.01759, allocations: 15.92 kB / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/0.0176, allocations: 0 / 379.7 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.532e-05/0.01769, allocations: 15.94 kB / 379.7 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.0177, allocations: 0 / 379.7 MB, free: 312 kB / 346.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 (5): * Single equations (assignments): 5 * 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.0001549/0.01786, allocations: 121.8 kB / 379.9 MB, free: 180 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.132e-05/0.01793, allocations: 11.89 kB / 379.9 MB, free: 168 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.01834, allocations: 86.12 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.01834, allocations: 288 / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01835, allocations: 0 / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.01836, allocations: 7.922 kB / 380 MB, free: 68 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.01913, allocations: 286.2 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.01914, allocations: 3.984 kB / 380.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.01925, allocations: 20 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.01927, allocations: 0 / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.01928, allocations: 0 / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-05/0.01929, allocations: 3.984 kB / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01929, allocations: 0 / 380.3 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004692/0.01976, allocations: 183.4 kB / 380.4 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.01978, allocations: 3.953 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.397e-05/0.01981, allocations: 4 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.01995, allocations: 3.984 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.02, allocations: 8.188 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.02002, allocations: 4 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002048/0.02022, allocations: 121.7 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02022, allocations: 0 / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004678/0.02069, allocations: 16 kB / 380.6 MB, free: 15.37 MB / 362.7 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 (5): * Single equations (assignments): 5 * 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.003113/0.0238, allocations: 426.3 kB / 381 MB, free: 15.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003568/0.02416, allocations: 51.89 kB / 381.1 MB, free: 15.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.02416, allocations: 4 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001428/0.0243, allocations: 19.98 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.02494, allocations: 35.08 kB / 381.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007484/0.02568, allocations: 180.9 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.02582, allocations: 75.33 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.76e-05/0.0259, allocations: 16.23 kB / 381.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.908e-05/0.02596, allocations: 12.5 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02596, allocations: 0 / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of Templates: time 0.007171/0.03313, allocations: 1.161 MB / 382.6 MB, free: 13.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.895038047921844]