Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.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.001034/0.001034, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001045/0.001045, allocations: 165 kB / 24.56 MB, free: 12 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.9662/0.9662, allocations: 177.1 MB / 205 MB, free: 5.637 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.24/0.24, allocations: 32.81 MB / 294.3 MB, free: 1.258 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.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 376 MB, free: 4.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.049e-05/2.175e-05, allocations: 6.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test5): time 0.002116/0.002138, allocations: 1.692 MB / 377.7 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008334/0.002971, allocations: 0.5724 MB / 378.3 MB, free: 2.359 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.666e-05/0.003038, allocations: 4 kB / 378.3 MB, free: 2.355 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004979/0.003536, allocations: 447.1 kB / 378.7 MB, free: 1.918 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.003938, allocations: 303.1 kB / 379 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003231/0.004261, allocations: 171.5 kB / 379.2 MB, free: 1.453 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.004475, allocations: 179.6 kB / 379.4 MB, free: 1.277 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.004566, allocations: 8 kB / 379.4 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.004671, allocations: 123.8 kB / 379.5 MB, free: 1.148 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001802/0.004851, allocations: 247.5 kB / 379.8 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.004869, allocations: 4 kB / 379.8 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.087e-05/0.004939, allocations: 31.94 kB / 379.8 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.452e-05/0.005024, allocations: 91.69 kB / 379.9 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.005066, allocations: 35.69 kB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000221/0.005287, allocations: 195.2 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.00529, allocations: 0 / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005291, allocations: 0 / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.005296, allocations: 4 kB / 380.1 MB, free: 0.5508 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.0005521/0.005848, allocations: 0.7009 MB / 380.8 MB, free: 15.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.005889, allocations: 12.03 kB / 380.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.005945, allocations: 44.66 kB / 380.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000184/0.006129, allocations: 248.8 kB / 381.1 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.00614, allocations: 4.359 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.151e-05/0.006162, allocations: 8.375 kB / 381.1 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.006282, allocations: 54.95 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.006292, allocations: 4.125 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.009e-05/0.006302, allocations: 4.125 kB / 381.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.255e-06/0.006311, allocations: 8 kB / 381.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.205e-05/0.006343, allocations: 11.92 kB / 381.2 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.006748, allocations: 427.6 kB / 381.6 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.00693, allocations: 50.92 kB / 381.7 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.006952, allocations: 11.69 kB / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.00697, allocations: 0 / 381.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.006994, allocations: 33.39 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.006995, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004519/0.007447, allocations: 192.8 kB / 381.9 MB, free: 14.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.007491, allocations: 55.41 kB / 382 MB, free: 14.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004469/0.007938, allocations: 0.6316 MB / 382.6 MB, free: 13.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.365e-05/0.007952, allocations: 25.7 kB / 382.6 MB, free: 13.87 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.008107, allocations: 282.8 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.008132, allocations: 27.84 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.37e-05/0.008165, allocations: 23.38 kB / 382.9 MB, free: 13.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.00833, allocations: 0.547 MB / 383.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.008352, allocations: 11.98 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.499e-05/0.008367, allocations: 4 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.484e-05/0.008412, allocations: 27.62 kB / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.008413, allocations: 0 / 383.5 MB, free: 12.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.936e-05/0.008512, allocations: 101.6 kB / 383.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.008526, allocations: 8 kB / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.008531, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.008543, allocations: 0 / 383.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.341e-05/0.008586, allocations: 15.98 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.008591, allocations: 0 / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.477e-05/0.008616, allocations: 4 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-06/0.008621, allocations: 0 / 383.7 MB, free: 12.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 (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 7.266e-05/0.008694, allocations: 160.5 kB / 383.8 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.433e-05/0.008728, allocations: 47.72 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.00887, allocations: 101.2 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.008872, allocations: 0 / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.008876, allocations: 0 / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008879, allocations: 0 / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003237/0.009202, allocations: 473.3 kB / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.009204, allocations: 0 / 384.4 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.241e-05/0.009236, allocations: 15.92 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.009239, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.009245, allocations: 0 / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.009248, allocations: 4 kB / 384.4 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.009249, allocations: 4 kB / 384.4 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001207/0.009369, allocations: 243.6 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.705e-05/0.009396, allocations: 35.67 kB / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.009412, allocations: 0 / 384.7 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.84e-05/0.009451, allocations: 4.281 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.00948, allocations: 3.984 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.009484, allocations: 4.188 kB / 384.7 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002445/0.009729, allocations: 430.8 kB / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009729, allocations: 0 / 385.1 MB, free: 11.22 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001677/0.009896, allocations: 27.94 kB / 385.2 MB, free: 11.19 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.0008171/0.01071, allocations: 393.6 kB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001061/0.01082, allocations: 31.67 kB / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01082, allocations: 0 / 385.6 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.01085, allocations: 23.62 kB / 385.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002465/0.01109, allocations: 28.45 kB / 385.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000602/0.0117, allocations: 0.5863 MB / 386.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.063e-05/0.01177, allocations: 119.2 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.64e-05/0.0118, allocations: 11.98 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.01183, allocations: 12.5 kB / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 3.8e-07/0.01183, allocations: 0 / 386.4 MB, free: 10.07 MB / 362.7 MB Notification: Performance of Templates: time 0.004204/0.01604, allocations: 1.488 MB / 387.9 MB, free: 8.602 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test5/Test5.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.9370399117469788]