Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001026/0.001026, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, allocations: 162 kB / 24.82 MB, free: 8.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9727/0.9727, allocations: 177 MB / 205.1 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.272/0.272, allocations: 34.86 MB / 296.6 MB, free: 0.5 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 379.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.367e-05/2.537e-05, allocations: 6.312 kB / 379.3 MB, free: 1.805 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002193/0.002218, allocations: 1.622 MB / 380.9 MB, free: 172 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007397/0.002958, allocations: 0.5602 MB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.003025, allocations: 7.938 kB / 381.4 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002081/0.003233, allocations: 23.8 kB / 381.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.003501, allocations: 83.55 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.003751, allocations: 107.7 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.003889, allocations: 79.7 kB / 381.7 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.854e-05/0.003968, allocations: 11.84 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.049e-05/0.004028, allocations: 43.91 kB / 381.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.498e-05/0.004093, allocations: 23.91 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.004107, allocations: 4 kB / 381.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.004248, allocations: 91.81 kB / 381.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.004287, allocations: 19.92 kB / 381.9 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.481e-05/0.004312, allocations: 19.88 kB / 381.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.004502, allocations: 135.6 kB / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004504, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.004505, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004508, allocations: 0 / 382.1 MB, free: 14.96 MB / 362.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.0003677/0.004876, allocations: 435.8 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.004911, allocations: 16.03 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.414e-05/0.004945, allocations: 8.891 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.0051, allocations: 136.5 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.876e-06/0.005108, allocations: 4.375 kB / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.005125, allocations: 384 / 382.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001208/0.005246, allocations: 104 kB / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.005255, allocations: 192 / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-06/0.005261, allocations: 384 / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.005265, allocations: 384 / 382.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.005287, allocations: 11.88 kB / 382.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002746/0.005562, allocations: 272.4 kB / 383 MB, free: 13.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.005618, allocations: 47.02 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.746e-05/0.005636, allocations: 11.69 kB / 383.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.005657, allocations: 7.938 kB / 383.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.224e-05/0.005679, allocations: 33.39 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.00568, allocations: 0 / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003064/0.005987, allocations: 109.5 kB / 383.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/0.006018, allocations: 77.11 kB / 383.3 MB, free: 13.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.006128, allocations: 204.8 kB / 383.5 MB, free: 13.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006139, allocations: 33.7 kB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.391e-05/0.006183, allocations: 134.9 kB / 383.7 MB, free: 13.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.025e-05/0.006203, allocations: 31.77 kB / 383.7 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.006231, allocations: 19.38 kB / 383.7 MB, free: 13.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.006338, allocations: 0.4962 MB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.676e-05/0.006355, allocations: 4 kB / 384.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.618e-05/0.006391, allocations: 57.05 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.813e-05/0.006429, allocations: 27.69 kB / 384.3 MB, free: 12.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.00643, allocations: 7.875 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.624e-05/0.006506, allocations: 65.62 kB / 384.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.006518, allocations: 7.969 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.006522, allocations: 4 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.006533, allocations: 4 kB / 384.4 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.88e-05/0.006591, allocations: 15.98 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.006594, allocations: 0 / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.263e-05/0.006616, allocations: 11.95 kB / 384.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.201e-06/0.006623, allocations: 3.984 kB / 384.4 MB, free: 12.36 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 6.509e-05/0.006688, allocations: 160.5 kB / 384.6 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.111e-05/0.006709, allocations: 7.953 kB / 384.6 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/0.006817, allocations: 78.69 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.006819, allocations: 4 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.006821, allocations: 4 kB / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.006823, allocations: 0 / 384.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002372/0.00706, allocations: 318 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.007063, allocations: 3.938 kB / 385 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.657e-05/0.0071, allocations: 15.98 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.007101, allocations: 0 / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.007105, allocations: 0 / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.007106, allocations: 0 / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.007107, allocations: 4 kB / 385 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.007218, allocations: 219.8 kB / 385.2 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.09e-05/0.007229, allocations: 15.88 kB / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.036e-05/0.007239, allocations: 0 / 385.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.505e-05/0.007275, allocations: 4 kB / 385.3 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.007296, allocations: 7.984 kB / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.007299, allocations: 0 / 385.3 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.243e-05/0.007351, allocations: 147.2 kB / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007351, allocations: 0 / 385.4 MB, free: 11.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.007535, allocations: 39.86 kB / 385.4 MB, free: 11.28 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 (7): * Single equations (assignments): 7 * 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.0009469/0.008482, allocations: 0.4919 MB / 385.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.416e-05/0.008576, allocations: 35.61 kB / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.008578, allocations: 0 / 386 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.492e-05/0.008603, allocations: 27.66 kB / 386 MB, free: 10.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.008799, allocations: 31.88 kB / 386 MB, free: 10.83 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003111/0.00911, allocations: 186.3 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.508e-05/0.009145, allocations: 67.28 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.32e-05/0.009188, allocations: 13.03 kB / 386.3 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.938e-05/0.009257, allocations: 90.17 kB / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.009258, allocations: 0 / 386.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of Templates: time 0.003689/0.01295, allocations: 2.23 MB / 388.6 MB, free: 8.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.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.109484137967229]