Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.0008796/0.0008796, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009218/0.0009218, allocations: 168.6 kB / 24.82 MB, free: 9.27 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 0.912/0.912, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2468/0.2468, allocations: 32.81 MB / 294.6 MB, free: 1.176 MB / 266.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.CombiTable1Ds.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 376.5 MB, free: 4.387 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.945e-05/3.112e-05, allocations: 6.25 kB / 376.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002961/0.002992, allocations: 1.655 MB / 378.2 MB, free: 2.715 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008984/0.00389, allocations: 0.5259 MB / 378.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.206e-05/0.003952, allocations: 0 / 378.7 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002759/0.004228, allocations: 79.64 kB / 378.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002926/0.004521, allocations: 107.5 kB / 378.9 MB, free: 2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.004756, allocations: 95.62 kB / 379 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.004913, allocations: 91.67 kB / 379 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.532e-05/0.005008, allocations: 12 kB / 379.1 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.291e-05/0.005091, allocations: 47.88 kB / 379.1 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.005193, allocations: 51.88 kB / 379.2 MB, free: 1.707 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.005209, allocations: 4 kB / 379.2 MB, free: 1.703 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.001e-05/0.005299, allocations: 47.92 kB / 379.2 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.318e-05/0.005342, allocations: 19.92 kB / 379.2 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.696e-05/0.005369, allocations: 15.92 kB / 379.2 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000162/0.005531, allocations: 83.67 kB / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.005533, allocations: 0 / 379.3 MB, free: 1.539 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005534, allocations: 4 kB / 379.3 MB, free: 1.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.908e-06/0.005538, allocations: 7.938 kB / 379.3 MB, free: 1.527 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.0004183/0.005956, allocations: 439.9 kB / 379.8 MB, free: 1.062 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.005995, allocations: 8.031 kB / 379.8 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.006036, allocations: 16.84 kB / 379.8 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.006173, allocations: 149.1 kB / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.006182, allocations: 384 / 379.9 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.006198, allocations: 8.375 kB / 379.9 MB, free: 0.8555 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001054/0.006304, allocations: 54.94 kB / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.006314, allocations: 192 / 380 MB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.006325, allocations: 12.12 kB / 380 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.006331, allocations: 7.938 kB / 380 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.657e-05/0.006357, allocations: 4 kB / 380 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002861/0.006643, allocations: 264.3 kB / 380.3 MB, free: 496 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.873e-05/0.006712, allocations: 54.91 kB / 380.3 MB, free: 428 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.977e-05/0.006732, allocations: 11.69 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.244e-05/0.006754, allocations: 0 / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.00678, allocations: 45.41 kB / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.006781, allocations: 0 / 380.4 MB, free: 356 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005287/0.00731, allocations: 141.5 kB / 380.5 MB, free: 208 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.007339, allocations: 51.41 kB / 380.6 MB, free: 144 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.007514, allocations: 234.3 kB / 380.8 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.007528, allocations: 29.7 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.595e-05/0.007604, allocations: 162.7 kB / 381 MB, free: 15.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.007635, allocations: 27.73 kB / 381 MB, free: 15.67 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.007676, allocations: 31.36 kB / 381 MB, free: 15.63 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.007839, allocations: 0.4962 MB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.109e-05/0.00786, allocations: 7.984 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.021e-05/0.00788, allocations: 12.02 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.221e-05/0.007932, allocations: 35.8 kB / 381.6 MB, free: 15.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.007935, allocations: 7.938 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001038/0.008038, allocations: 65.64 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008052, allocations: 8 kB / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.008056, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.008068, allocations: 0 / 381.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.944e-05/0.008147, allocations: 16.42 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.605e-06/0.00815, allocations: 3.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.817e-05/0.008178, allocations: 7.984 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.008184, allocations: 0 / 381.7 MB, free: 14.95 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 8.133e-05/0.008266, allocations: 164.5 kB / 381.9 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.418e-05/0.0083, allocations: 19.91 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001472/0.008447, allocations: 79.12 kB / 382 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.008451, allocations: 7.984 kB / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008452, allocations: 0 / 382 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.008457, allocations: 3.984 kB / 382 MB, free: 14.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.008802, allocations: 349.5 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.008806, allocations: 4 kB / 382.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.806e-05/0.008864, allocations: 19.92 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.008867, allocations: 0 / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-06/0.008873, allocations: 4.031 kB / 382.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.008876, allocations: 4 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.008877, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.009028, allocations: 231.5 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.237e-05/0.00904, allocations: 7.906 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.009055, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.044e-05/0.009115, allocations: 3.938 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.894e-05/0.009144, allocations: 11.97 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.009152, allocations: 8 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.929e-05/0.009242, allocations: 155.1 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009242, allocations: 4 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.009508, allocations: 20 kB / 382.8 MB, free: 13.79 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.001175/0.01068, allocations: 450.8 kB / 383.2 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.875e-05/0.01078, allocations: 39.61 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.01078, allocations: 0 / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.01082, allocations: 23.67 kB / 383.3 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.01112, allocations: 19.98 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003743/0.0115, allocations: 233.9 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.202e-05/0.01155, allocations: 71.34 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.746e-05/0.0116, allocations: 17.02 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.01167, allocations: 78.2 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01167, allocations: 0 / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of Templates: time 0.003842/0.01552, allocations: 1.505 MB / 385.2 MB, free: 11.48 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.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: 2.7293465049006045]