Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.001161/0.001161, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001199/0.001199, allocations: 166.2 kB / 24.99 MB, free: 8.793 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.9983/0.9983, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.258/0.258, allocations: 32.8 MB / 294.6 MB, free: 1.23 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|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.CombiTable1Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 376 MB, free: 4.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.946e-05/3.119e-05, allocations: 6.25 kB / 376 MB, free: 4.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002583/0.002614, allocations: 1.685 MB / 377.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007653/0.00338, allocations: 0.5376 MB / 378.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.00344, allocations: 0 / 378.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.003713, allocations: 103.5 kB / 378.4 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002477/0.00396, allocations: 107.5 kB / 378.5 MB, free: 2.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001934/0.004154, allocations: 99.62 kB / 378.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.004318, allocations: 95.8 kB / 378.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004425, allocations: 19.92 kB / 378.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.945e-05/0.004494, allocations: 59.88 kB / 378.7 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.004587, allocations: 59.86 kB / 378.8 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.004602, allocations: 4 kB / 378.8 MB, free: 2.172 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.828e-05/0.004681, allocations: 51.84 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.907e-05/0.00473, allocations: 31.86 kB / 378.9 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.114e-05/0.004761, allocations: 19.94 kB / 378.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001653/0.004926, allocations: 111.6 kB / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.004928, allocations: 0 / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.00493, allocations: 0 / 379 MB, free: 1.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.004934, allocations: 0 / 379 MB, free: 1.961 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004181/0.005352, allocations: 459.8 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.005388, allocations: 19.97 kB / 379.5 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.005432, allocations: 16.84 kB / 379.5 MB, free: 1.441 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.005579, allocations: 160.4 kB / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.128e-06/0.005588, allocations: 384 / 379.6 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.005608, allocations: 4.375 kB / 379.6 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001197/0.005728, allocations: 70.94 kB / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005737, allocations: 192 / 379.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.005747, allocations: 4.125 kB / 379.7 MB, free: 1.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.005755, allocations: 4 kB / 379.7 MB, free: 1.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.699e-05/0.005802, allocations: 31.89 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/0.006108, allocations: 319.6 kB / 380.1 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.619e-05/0.006194, allocations: 62.92 kB / 380.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.674e-05/0.006221, allocations: 15.69 kB / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.006241, allocations: 0 / 380.1 MB, free: 0.6953 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.006266, allocations: 45.48 kB / 380.2 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 6.91e-07/0.006267, allocations: 3.938 kB / 380.2 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005895/0.006857, allocations: 233.8 kB / 380.4 MB, free: 412 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.006889, allocations: 59.34 kB / 380.5 MB, free: 340 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.007041, allocations: 250.7 kB / 380.7 MB, free: 68 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.105e-05/0.007052, allocations: 29.7 kB / 380.8 MB, free: 32 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.007131, allocations: 162.8 kB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.954e-05/0.007161, allocations: 39.59 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.634e-05/0.007197, allocations: 35.36 kB / 381 MB, free: 15.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.007325, allocations: 0.504 MB / 381.5 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.085e-05/0.007356, allocations: 19.98 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.933e-05/0.007385, allocations: 19.98 kB / 381.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.7e-05/0.007452, allocations: 51.69 kB / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007453, allocations: 0 / 381.6 MB, free: 15.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001114/0.007565, allocations: 109.5 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.007577, allocations: 4 kB / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.007581, allocations: 0 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007594, allocations: 0 / 381.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.007674, allocations: 23.98 kB / 381.7 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.00768, allocations: 4 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.0077, allocations: 4 kB / 381.7 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.007709, allocations: 7.938 kB / 381.7 MB, free: 15.02 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 6.84e-05/0.007777, allocations: 164.6 kB / 381.9 MB, free: 14.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.007801, allocations: 23.86 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.007961, allocations: 126.4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.007964, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.007967, allocations: 0 / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.007971, allocations: 3.984 kB / 382 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.008326, allocations: 432.9 kB / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.008328, allocations: 0 / 382.5 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.008379, allocations: 27.92 kB / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.008381, allocations: 0 / 382.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.008393, allocations: 11.92 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.008394, allocations: 4.031 kB / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.008395, allocations: 0 / 382.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.008541, allocations: 259.5 kB / 382.8 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.008551, allocations: 11.91 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.008566, allocations: 7.938 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.491e-05/0.0086, allocations: 4 kB / 382.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.008634, allocations: 15.92 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.629e-06/0.008639, allocations: 4 kB / 382.8 MB, free: 13.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.969e-05/0.008719, allocations: 185 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008719, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.008886, allocations: 27.94 kB / 383 MB, free: 13.65 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.0008937/0.00978, allocations: 450 kB / 383.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001471/0.009927, allocations: 71.53 kB / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.009929, allocations: 0 / 383.5 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.475e-05/0.009983, allocations: 47.59 kB / 383.6 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.01022, allocations: 15.98 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003654/0.01059, allocations: 276.8 kB / 383.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.188e-05/0.01063, allocations: 71.33 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.898e-05/0.01067, allocations: 16.48 kB / 383.9 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.178e-05/0.0107, allocations: 24.48 kB / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.0107, allocations: 0 / 384 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003292/0.01399, allocations: 1.563 MB / 385.5 MB, free: 11.26 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.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.2352740780916065]