Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.0009331/0.0009331, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001013/0.001013, allocations: 161 kB / 24.56 MB, free: 16 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 0.9683/0.9683, allocations: 177.1 MB / 205 MB, free: 5.242 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.2678/0.2678, allocations: 32.8 MB / 294.3 MB, free: 1.219 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.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.797e-05/2.954e-05, allocations: 2.312 kB / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.002469/0.002499, allocations: 1.642 MB / 377.7 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000786/0.003285, allocations: 0.5453 MB / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.19e-05/0.003347, allocations: 0 / 378.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.003579, allocations: 27.78 kB / 378.2 MB, free: 2.418 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000302/0.003881, allocations: 79.61 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002889/0.004169, allocations: 119.5 kB / 378.4 MB, free: 2.223 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004323, allocations: 67.78 kB / 378.5 MB, free: 2.156 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.00442, allocations: 11.98 kB / 378.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.004479, allocations: 35.84 kB / 378.5 MB, free: 2.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.771e-05/0.004536, allocations: 15.98 kB / 378.6 MB, free: 2.094 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.00455, allocations: 3.938 kB / 378.6 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.436e-05/0.004624, allocations: 27.98 kB / 378.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.664e-05/0.004671, allocations: 15.94 kB / 378.6 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.016e-05/0.004701, allocations: 15.97 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.004848, allocations: 75.62 kB / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.004851, allocations: 0 / 378.7 MB, free: 1.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004852, allocations: 4 kB / 378.7 MB, free: 1.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.004857, allocations: 0 / 378.7 MB, free: 1.953 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.0003843/0.005241, allocations: 424 kB / 379.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.005274, allocations: 8.031 kB / 379.1 MB, free: 1.496 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.005318, allocations: 8.891 kB / 379.1 MB, free: 1.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.005447, allocations: 137.6 kB / 379.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.005457, allocations: 4.375 kB / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.928e-05/0.005477, allocations: 384 / 379.3 MB, free: 1.324 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.005587, allocations: 58.7 kB / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.005596, allocations: 0 / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.146e-06/0.005604, allocations: 0 / 379.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.005612, allocations: 7.984 kB / 379.3 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.875e-05/0.00564, allocations: 15.98 kB / 379.4 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002883/0.005929, allocations: 279.7 kB / 379.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.006083, allocations: 42.98 kB / 379.7 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.037e-05/0.006103, allocations: 15.69 kB / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.006119, allocations: 0 / 379.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.00614, allocations: 37.39 kB / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.006141, allocations: 0 / 379.7 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000376/0.006517, allocations: 101.5 kB / 379.8 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.006573, allocations: 63.34 kB / 379.9 MB, free: 0.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001353/0.006708, allocations: 216.4 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.00672, allocations: 29.64 kB / 380.1 MB, free: 372 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.006775, allocations: 150.8 kB / 380.3 MB, free: 216 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.311e-05/0.006798, allocations: 19.84 kB / 380.3 MB, free: 196 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.00683, allocations: 23.38 kB / 380.3 MB, free: 164 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.006963, allocations: 0.4961 MB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.014e-05/0.006983, allocations: 4 kB / 380.8 MB, free: 15.65 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.48e-05/0.006998, allocations: 7.984 kB / 380.8 MB, free: 15.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.195e-05/0.00704, allocations: 27.69 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.007041, allocations: 4 kB / 380.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.259e-05/0.007124, allocations: 61.89 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.007137, allocations: 7.938 kB / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.007142, allocations: 0 / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.007155, allocations: 0 / 380.9 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.372e-05/0.007209, allocations: 8 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.007214, allocations: 0 / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.019e-05/0.007234, allocations: 7.984 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.007239, allocations: 0 / 380.9 MB, free: 15.52 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 (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 6.172e-05/0.007301, allocations: 164.5 kB / 381.1 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.007319, allocations: 15.91 kB / 381.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.007429, allocations: 70.14 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007432, allocations: 0 / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.007435, allocations: 0 / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.007438, allocations: 3.938 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.007668, allocations: 325.4 kB / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.007669, allocations: 0 / 381.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.262e-05/0.007702, allocations: 12 kB / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.007704, allocations: 0 / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.007711, allocations: 0 / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.007712, allocations: 0 / 381.5 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.007714, allocations: 7.984 kB / 381.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.007818, allocations: 215.8 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-06/0.007824, allocations: 3.953 kB / 381.7 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.265e-05/0.007837, allocations: 4 kB / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.044e-05/0.007868, allocations: 192 / 381.7 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.731e-05/0.007905, allocations: 11.98 kB / 381.7 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.007909, allocations: 7.938 kB / 381.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.158e-05/0.00797, allocations: 157.6 kB / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007971, allocations: 0 / 381.9 MB, free: 14.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001577/0.008128, allocations: 15.92 kB / 381.9 MB, free: 14.45 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.0007889/0.008917, allocations: 389.6 kB / 382.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.649e-05/0.009014, allocations: 27.62 kB / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.009015, allocations: 0 / 382.3 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.009039, allocations: 27.67 kB / 382.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002106/0.009249, allocations: 19.97 kB / 382.4 MB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003481/0.009597, allocations: 182.3 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.302e-05/0.00964, allocations: 70.52 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.009678, allocations: 7.984 kB / 382.6 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.941e-05/0.009707, allocations: 16.5 kB / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of SimCode: time 7.82e-07/0.009708, allocations: 0 / 382.7 MB, free: 13.8 MB / 362.7 MB Notification: Performance of Templates: time 0.003276/0.01298, allocations: 1.275 MB / 383.9 MB, free: 12.54 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.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.0543701997958124]