Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.00103/0.00103, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001522/0.001522, allocations: 163 kB / 24.99 MB, free: 9.32 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.9652/0.9652, allocations: 177 MB / 205.2 MB, free: 5.629 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.2544/0.2544, 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 378.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.834e-05/1.965e-05, allocations: 6.25 kB / 378.8 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002008/0.002027, allocations: 1.635 MB / 380.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000689/0.002716, allocations: 0.5525 MB / 381 MB, free: 164 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.002772, allocations: 0 / 381 MB, free: 164 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.003032, allocations: 111.5 kB / 381.1 MB, free: 52 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002655/0.003298, allocations: 119.7 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.003519, allocations: 115.4 kB / 381.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.003665, allocations: 95.73 kB / 381.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.076e-05/0.003756, allocations: 11.98 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.003824, allocations: 51.88 kB / 381.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.425e-05/0.003918, allocations: 67.86 kB / 381.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.428e-05/0.003932, allocations: 4 kB / 381.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.004004, allocations: 43.92 kB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.809e-05/0.004052, allocations: 27.84 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.608e-05/0.004078, allocations: 15.94 kB / 381.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000148/0.004226, allocations: 91.66 kB / 381.7 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.004228, allocations: 7.938 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.004229, allocations: 3.938 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.004233, allocations: 4 kB / 381.7 MB, free: 15.4 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003833/0.004616, allocations: 455.8 kB / 382.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.004649, allocations: 8.031 kB / 382.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.252e-05/0.004691, allocations: 16.84 kB / 382.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.004834, allocations: 153.2 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.004844, allocations: 4.375 kB / 382.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.004863, allocations: 4.375 kB / 382.4 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001022/0.004965, allocations: 54.95 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.004975, allocations: 4.125 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.004984, allocations: 4.359 kB / 382.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.004992, allocations: 8.375 kB / 382.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.005024, allocations: 15.92 kB / 382.4 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002833/0.005308, allocations: 303.7 kB / 382.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.048e-05/0.005368, allocations: 46.98 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.005391, allocations: 15.69 kB / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.005407, allocations: 0 / 382.8 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/0.005425, allocations: 41.33 kB / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.005426, allocations: 0 / 382.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004926/0.005919, allocations: 177.3 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.005948, allocations: 55.41 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.006093, allocations: 263 kB / 383.3 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/0.006104, allocations: 29.7 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.574e-05/0.006159, allocations: 158.9 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.006184, allocations: 31.73 kB / 383.5 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.006214, allocations: 27.38 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.006323, allocations: 0.4962 MB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.191e-05/0.006345, allocations: 11.98 kB / 384.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.808e-05/0.006363, allocations: 15.94 kB / 384.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.006408, allocations: 31.69 kB / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.006408, allocations: 0 / 384.1 MB, free: 12.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.569e-05/0.006494, allocations: 89.58 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.006506, allocations: 4 kB / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.00651, allocations: 0 / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.006525, allocations: 0 / 384.2 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.006588, allocations: 15.94 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.006592, allocations: 320 / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.93e-05/0.006612, allocations: 11.98 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.006617, allocations: 4 kB / 384.2 MB, free: 12.67 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.171e-05/0.006679, allocations: 160.6 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.242e-05/0.006702, allocations: 23.84 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001215/0.006823, allocations: 87.11 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006825, allocations: 4 kB / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.006828, allocations: 0 / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.00683, allocations: 0 / 384.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.007106, allocations: 385 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.007107, allocations: 0 / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.792e-05/0.007145, allocations: 23.94 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.007147, allocations: 0 / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-06/0.007153, allocations: 4.031 kB / 384.9 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.007156, allocations: 7.984 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.007158, allocations: 4 kB / 384.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.007274, allocations: 231.5 kB / 385.2 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.007284, allocations: 16.27 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.207e-05/0.007296, allocations: 4 kB / 385.2 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.45e-05/0.00733, allocations: 4 kB / 385.2 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.728e-05/0.007358, allocations: 11.92 kB / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.007361, allocations: 0 / 385.2 MB, free: 11.64 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.981e-05/0.007441, allocations: 187.1 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007441, allocations: 4 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000173/0.007614, allocations: 23.88 kB / 385.4 MB, free: 11.43 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 (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 Backend phase and start with SimCode phase: time 0.0008406/0.008454, allocations: 435.7 kB / 385.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.008595, allocations: 55.56 kB / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008596, allocations: 0 / 385.9 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.002e-05/0.008626, allocations: 23.69 kB / 385.9 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.008841, allocations: 19.98 kB / 385.9 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.009179, allocations: 257.5 kB / 386.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.967e-05/0.009218, allocations: 71.33 kB / 386.2 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.009257, allocations: 16.72 kB / 386.3 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/0.009287, allocations: 24.48 kB / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.009288, allocations: 0 / 386.3 MB, free: 10.61 MB / 362.7 MB Notification: Performance of Templates: time 0.002994/0.01228, allocations: 1.419 MB / 387.7 MB, free: 9.211 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.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.0615412679035217]