Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.001463/0.001463, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.002032/0.002032, allocations: 162 kB / 25.61 MB, free: 8.871 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 1.012/1.012, allocations: 177 MB / 205.9 MB, free: 4.441 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.165/0.165, allocations: 34.88 MB / 297.4 MB, free: 13.32 MB / 282.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.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0 / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.025e-05/2.294e-05, allocations: 4 kB / 380 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001968/0.001991, allocations: 1.634 MB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007333/0.002724, allocations: 0.5173 MB / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.002788, allocations: 0 / 382.2 MB, free: 20.56 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000232/0.00302, allocations: 27.84 kB / 382.2 MB, free: 20.53 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.003271, allocations: 79.56 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.003445, allocations: 95.56 kB / 382.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001125/0.003557, allocations: 67.83 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.00366, allocations: 11.98 kB / 382.5 MB, free: 20.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.003714, allocations: 27.92 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.934e-05/0.003774, allocations: 19.91 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.003788, allocations: 4 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.003849, allocations: 31.98 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.429e-05/0.003893, allocations: 11.94 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.003915, allocations: 7.938 kB / 382.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.004044, allocations: 75.67 kB / 382.6 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.004046, allocations: 3.984 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004047, allocations: 0 / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.004052, allocations: 0 / 382.6 MB, free: 20.1 MB / 314.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.0003025/0.004354, allocations: 408.2 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.057e-05/0.004385, allocations: 12.03 kB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.004413, allocations: 8.891 kB / 383.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.004515, allocations: 136.5 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-06/0.004523, allocations: 4.375 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.692e-05/0.00454, allocations: 8.312 kB / 383.2 MB, free: 19.47 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.65e-05/0.004617, allocations: 50.95 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.004625, allocations: 192 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.004631, allocations: 384 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.004636, allocations: 384 / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.125e-05/0.004657, allocations: 15.92 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.004828, allocations: 248.5 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.004945, allocations: 46.92 kB / 383.6 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.317e-05/0.004958, allocations: 15.67 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.004972, allocations: 0 / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.373e-05/0.004986, allocations: 33.39 kB / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 5.81e-07/0.004986, allocations: 0 / 383.6 MB, free: 19.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00024/0.005226, allocations: 93.48 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.157e-05/0.005248, allocations: 55.41 kB / 383.7 MB, free: 18.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.005319, allocations: 201.8 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.503e-06/0.005326, allocations: 25.7 kB / 384 MB, free: 18.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.12e-05/0.005357, allocations: 142.9 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.005377, allocations: 23.78 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-05/0.005401, allocations: 19.38 kB / 384.2 MB, free: 18.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.343e-05/0.005455, allocations: 0.4962 MB / 384.6 MB, free: 17.89 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.121e-05/0.005466, allocations: 4 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.033e-05/0.005476, allocations: 4 kB / 384.7 MB, free: 17.89 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.005505, allocations: 23.61 kB / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.005506, allocations: 0 / 384.7 MB, free: 17.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.766e-05/0.005563, allocations: 61.84 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.005575, allocations: 7.938 kB / 384.7 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.888e-06/0.005579, allocations: 4 kB / 384.7 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.201e-05/0.005591, allocations: 3.984 kB / 384.8 MB, free: 17.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.796e-05/0.005629, allocations: 8 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.006e-06/0.005632, allocations: 4 kB / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.602e-05/0.005648, allocations: 0 / 384.8 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.005652, allocations: 3.984 kB / 384.8 MB, free: 17.76 MB / 314.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 4.993e-05/0.005702, allocations: 168.5 kB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.00572, allocations: 7.953 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001027/0.005823, allocations: 66.09 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.005826, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005828, allocations: 4 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.005832, allocations: 3.984 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.006004, allocations: 286 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.006007, allocations: 4 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.006031, allocations: 8 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.088e-06/0.006035, allocations: 3.938 kB / 385.3 MB, free: 17.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.939e-06/0.00604, allocations: 7.938 kB / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.006041, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.006043, allocations: 0 / 385.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.312e-05/0.006116, allocations: 199.9 kB / 385.5 MB, free: 16.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.857e-06/0.006125, allocations: 23.81 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.006135, allocations: 256 / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.84e-05/0.006163, allocations: 4 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.465e-05/0.006188, allocations: 4 kB / 385.5 MB, free: 16.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.006192, allocations: 4 kB / 385.6 MB, free: 16.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.579e-05/0.006227, allocations: 149 kB / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006227, allocations: 0 / 385.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001502/0.006378, allocations: 16 kB / 385.7 MB, free: 16.75 MB / 314.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.0007342/0.007112, allocations: 378.4 kB / 386.1 MB, free: 16.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.007182, allocations: 23.67 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.007184, allocations: 4 kB / 386.1 MB, free: 16.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 1.78e-05/0.007202, allocations: 23.61 kB / 386.1 MB, free: 16.46 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.007394, allocations: 23.88 kB / 386.2 MB, free: 16.44 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002271/0.007622, allocations: 172.5 kB / 386.3 MB, free: 16.24 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.335e-05/0.007645, allocations: 63.2 kB / 386.4 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.461e-05/0.00767, allocations: 7.984 kB / 386.4 MB, free: 16.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.767e-05/0.007707, allocations: 82.19 kB / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of SimCode: time 4.71e-07/0.007708, allocations: 0 / 386.5 MB, free: 16.07 MB / 314.7 MB Notification: Performance of Templates: time 0.002585/0.01029, allocations: 1.284 MB / 387.8 MB, free: 14.8 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.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.3453176240436733]