Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.002217/0.002217, allocations: 99.53 kB / 20.96 MB, free: 3.457 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.001996/0.001996, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.54/1.54, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.3665/0.3665, allocations: 34.26 MB / 295.2 MB, free: 0.6445 MB / 266.7 MB " [Timeout remaining time 179] 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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.117e-05/3.29e-05, allocations: 4.984 kB / 377.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.005091/0.005124, allocations: 1.619 MB / 378.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003469/0.008593, allocations: 1.254 MB / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.559e-05/0.008688, allocations: 0 / 380.1 MB, free: 16 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.009042, allocations: 27.86 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005454/0.009588, allocations: 87.47 kB / 380.2 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.01005, allocations: 87.64 kB / 380.3 MB, free: 15.82 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002529/0.01031, allocations: 71.77 kB / 380.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.01044, allocations: 11.98 kB / 380.4 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001319/0.01057, allocations: 35.91 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00019/0.01076, allocations: 23.91 kB / 380.4 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.01079, allocations: 4 kB / 380.4 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003088/0.0111, allocations: 91.83 kB / 380.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.01117, allocations: 11.97 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.865e-05/0.01123, allocations: 15.94 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004534/0.01168, allocations: 147.5 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01168, allocations: 0 / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.01169, allocations: 3.938 kB / 380.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.01169, allocations: 4 kB / 380.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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008674/0.01256, allocations: 423.7 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.01261, allocations: 12.03 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.0127, allocations: 8.891 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.01303, allocations: 136.4 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.01305, allocations: 4.375 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.01308, allocations: 4.375 kB / 381.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002569/0.01334, allocations: 87.33 kB / 381.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.01336, allocations: 4.172 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.01337, allocations: 384 / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.01338, allocations: 8.375 kB / 381.4 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.0135, allocations: 15.94 kB / 381.4 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005969/0.0141, allocations: 291.7 kB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003092/0.01441, allocations: 43.06 kB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.135e-05/0.01449, allocations: 23.77 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.01451, allocations: 3.938 kB / 381.7 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/0.01456, allocations: 37.39 kB / 381.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.443e-06/0.01457, allocations: 4 kB / 381.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008124/0.01538, allocations: 141.3 kB / 381.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.349e-05/0.01547, allocations: 77.11 kB / 382 MB, free: 13.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003298/0.0158, allocations: 208.9 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.01583, allocations: 25.7 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.01598, allocations: 142.9 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.01602, allocations: 23.83 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-05/0.0161, allocations: 23.38 kB / 382.4 MB, free: 13.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003865/0.01648, allocations: 0.4923 MB / 382.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.239e-05/0.01658, allocations: 15.98 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.01673, allocations: 65.06 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001791/0.01691, allocations: 39.86 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.01692, allocations: 4 kB / 383 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00028/0.0172, allocations: 81.58 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.01722, allocations: 4 kB / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01722, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.01724, allocations: 0 / 383.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.403e-05/0.01733, allocations: 15.92 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.01734, allocations: 4 kB / 383.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.406e-05/0.01741, allocations: 7.969 kB / 383.1 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.01742, allocations: 4 kB / 383.1 MB, free: 12.72 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 0.0001923/0.01761, allocations: 156.6 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.463e-05/0.01769, allocations: 19.88 kB / 383.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.01804, allocations: 86.09 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.01804, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.01804, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.01805, allocations: 0 / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007471/0.01879, allocations: 349.3 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.0188, allocations: 4 kB / 383.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.832e-05/0.01888, allocations: 8 kB / 383.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.955e-06/0.01888, allocations: 3.984 kB / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.01889, allocations: 0 / 383.8 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.0189, allocations: 4 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.0189, allocations: 3.938 kB / 383.8 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.01931, allocations: 228 kB / 384 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.01934, allocations: 11.95 kB / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/0.01936, allocations: 0 / 384 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.01949, allocations: 4 kB / 384 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/0.01954, allocations: 11.98 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.01955, allocations: 4 kB / 384 MB, free: 11.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001991/0.01975, allocations: 151.2 kB / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.01975, allocations: 0 / 384.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005219/0.02027, allocations: 39.86 kB / 384.2 MB, free: 11.58 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.004789/0.02506, allocations: 0.5127 MB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003/0.02536, allocations: 51.61 kB / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.02536, allocations: 0 / 384.8 MB, free: 11.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.02548, allocations: 27.67 kB / 384.8 MB, free: 11.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005188/0.026, allocations: 35.23 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007102/0.02671, allocations: 181.9 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.02684, allocations: 71.33 kB / 385.1 MB, free: 10.82 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.882e-05/0.02694, allocations: 15.97 kB / 385.1 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.833e-05/0.02702, allocations: 20.48 kB / 385.1 MB, free: 10.79 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.02702, allocations: 7.938 kB / 385.1 MB, free: 10.78 MB / 362.7 MB Notification: Performance of Templates: time 0.008993/0.03602, allocations: 1.826 MB / 386.9 MB, free: 8.957 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.021077326033264]