Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.001747/0.001747, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.001987/0.001987, allocations: 165.3 kB / 24.28 MB, free: 148 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.572/1.572, allocations: 177.1 MB / 204.6 MB, free: 5.613 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.3749/0.3749, allocations: 32.8 MB / 293.9 MB, free: 1.188 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 375.3 MB, free: 4.965 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.971e-05/4.132e-05, allocations: 10.11 kB / 375.3 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003631/0.003673, allocations: 1.654 MB / 376.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.004953, allocations: 0.5453 MB / 377.5 MB, free: 2.738 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.005018, allocations: 4 kB / 377.5 MB, free: 2.734 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.005373, allocations: 99.55 kB / 377.6 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000349/0.005722, allocations: 119.5 kB / 377.7 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.00607, allocations: 115.7 kB / 377.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.006284, allocations: 107.7 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.006402, allocations: 19.89 kB / 377.9 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001215/0.006524, allocations: 59.81 kB / 378 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.006659, allocations: 59.86 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.563e-05/0.006685, allocations: 8 kB / 378.1 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/0.006796, allocations: 43.92 kB / 378.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.357e-05/0.00687, allocations: 27.91 kB / 378.1 MB, free: 2.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.006917, allocations: 19.94 kB / 378.2 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002691/0.007186, allocations: 135.5 kB / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.00719, allocations: 0 / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.007191, allocations: 0 / 378.3 MB, free: 1.934 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.007196, allocations: 8 kB / 378.3 MB, free: 1.926 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007332/0.00793, allocations: 471.3 kB / 378.8 MB, free: 1.43 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.007969, allocations: 8.031 kB / 378.8 MB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.553e-05/0.008035, allocations: 20.84 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.008277, allocations: 164.3 kB / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.008288, allocations: 384 / 378.9 MB, free: 1.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.008315, allocations: 8.375 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.008496, allocations: 66.23 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.008511, allocations: 192 / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.00853, allocations: 8.125 kB / 379 MB, free: 1.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.00854, allocations: 4 kB / 379 MB, free: 1.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.008648, allocations: 31.97 kB / 379.1 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005754/0.009223, allocations: 351.5 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.009388, allocations: 63.03 kB / 379.5 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.265e-05/0.00945, allocations: 23.69 kB / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.009474, allocations: 0 / 379.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.009512, allocations: 37.38 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 8.21e-07/0.009513, allocations: 7.938 kB / 379.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001092/0.01061, allocations: 281.7 kB / 379.8 MB, free: 284 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.01067, allocations: 55.47 kB / 379.9 MB, free: 216 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003478/0.01101, allocations: 262.7 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.01104, allocations: 25.7 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001488/0.01119, allocations: 170.8 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.01126, allocations: 51.58 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.01133, allocations: 35.38 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003723/0.01171, allocations: 0.5157 MB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.849e-05/0.0118, allocations: 27.98 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.01188, allocations: 35.8 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000197/0.01207, allocations: 75.67 kB / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.01208, allocations: 0 / 381 MB, free: 14.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002859/0.01236, allocations: 129.6 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.01238, allocations: 4 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.01239, allocations: 0 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.293e-05/0.01241, allocations: 4 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001547/0.01257, allocations: 31.92 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.01257, allocations: 0 / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.067e-05/0.01262, allocations: 11.94 kB / 381.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.01263, allocations: 4 kB / 381.2 MB, free: 14.79 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 (13): * Single equations (assignments): 13 * 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.0001883/0.01282, allocations: 160.6 kB / 381.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.364e-05/0.01288, allocations: 23.91 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.01327, allocations: 147 kB / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.01328, allocations: 0 / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.01328, allocations: 0 / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.01328, allocations: 0 / 381.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007947/0.01408, allocations: 484.8 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.01408, allocations: 0 / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001041/0.01419, allocations: 23.98 kB / 382 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.01419, allocations: 4 kB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01421, allocations: 7.938 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01421, allocations: 0 / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.01422, allocations: 7.938 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.0146, allocations: 282.8 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.067e-05/0.01462, allocations: 15.94 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.01465, allocations: 11.94 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.354e-05/0.01471, allocations: 0 / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.01477, allocations: 19.97 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.662e-06/0.01478, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001719/0.01495, allocations: 193.1 kB / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01495, allocations: 0 / 382.6 MB, free: 13.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002687/0.01522, allocations: 31.92 kB / 382.6 MB, free: 13.32 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 (13): * Single equations (assignments): 13 * 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.003252/0.01847, allocations: 497.3 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.01874, allocations: 83.66 kB / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01874, allocations: 0 / 383.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.01887, allocations: 63.34 kB / 383.2 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.01923, allocations: 24.05 kB / 383.3 MB, free: 12.87 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.01993, allocations: 300.8 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.02006, allocations: 101.1 kB / 383.7 MB, free: 12.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.168e-05/0.02014, allocations: 32.45 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.51e-05/0.0202, allocations: 20.5 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of SimCode: time 1.162e-06/0.0202, allocations: 0 / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of Templates: time 0.005606/0.02581, allocations: 1.618 MB / 385.3 MB, free: 10.77 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.916244558990002]