Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.001493/0.001493, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001562/0.001562, allocations: 160.5 kB / 24.55 MB, free: 16 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.009/1.009, allocations: 177 MB / 204.8 MB, free: 5.559 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.2683/0.2683, allocations: 34.86 MB / 296.3 MB, free: 0.5273 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.CombiTable1Ds.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.203e-05/3.371e-05, allocations: 3.156 kB / 378.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003418/0.003452, allocations: 1.636 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.004518, allocations: 0.533 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.004581, allocations: 0 / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002284/0.004809, allocations: 31.78 kB / 381 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.005101, allocations: 83.55 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.005337, allocations: 95.62 kB / 381.2 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.005478, allocations: 67.78 kB / 381.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.146e-05/0.00557, allocations: 11.86 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.529e-05/0.005625, allocations: 35.89 kB / 381.3 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.005683, allocations: 15.92 kB / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.005698, allocations: 0 / 381.3 MB, free: 15.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.661e-05/0.005765, allocations: 35.88 kB / 381.3 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.005819, allocations: 23.91 kB / 381.3 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.741e-05/0.005847, allocations: 4 kB / 381.3 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.006003, allocations: 75.69 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.006005, allocations: 4 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006006, allocations: 0 / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.479e-06/0.00601, allocations: 0 / 381.4 MB, free: 15.39 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.0004917/0.006502, allocations: 416.1 kB / 381.8 MB, free: 14.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.006544, allocations: 12.03 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.006591, allocations: 8.891 kB / 381.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.006734, allocations: 145 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.006744, allocations: 384 / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.006763, allocations: 4.375 kB / 382 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.006878, allocations: 58.95 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.006889, allocations: 4.188 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.0069, allocations: 4.125 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.006911, allocations: 0 / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.954e-05/0.006941, allocations: 7.984 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002844/0.007225, allocations: 283.7 kB / 382.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001575/0.007383, allocations: 39.06 kB / 382.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.007403, allocations: 15.77 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.007421, allocations: 3.938 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.007444, allocations: 45.38 kB / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.007446, allocations: 0 / 382.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003311/0.007777, allocations: 97.47 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.007804, allocations: 51.41 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001211/0.007925, allocations: 215.3 kB / 382.8 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.1e-05/0.007936, allocations: 29.64 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.007987, allocations: 150.8 kB / 383 MB, free: 13.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.053e-05/0.008007, allocations: 19.84 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.008038, allocations: 23.36 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.008279, allocations: 0.4923 MB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.107e-05/0.0083, allocations: 11.92 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.008312, allocations: 4 kB / 383.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.805e-05/0.00835, allocations: 23.69 kB / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.008351, allocations: 0 / 383.6 MB, free: 13.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.605e-05/0.008427, allocations: 65.58 kB / 383.6 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.008442, allocations: 8 kB / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.008447, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.008458, allocations: 0 / 383.6 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.00851, allocations: 11.98 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.008515, allocations: 3.938 kB / 383.6 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/0.008534, allocations: 4 kB / 383.6 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.008539, allocations: 256 / 383.6 MB, free: 12.95 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 6.337e-05/0.008602, allocations: 160.6 kB / 383.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.008624, allocations: 19.84 kB / 383.8 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001221/0.008746, allocations: 66.14 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.008749, allocations: 4 kB / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.008753, allocations: 0 / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.008756, allocations: 0 / 383.9 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002419/0.008998, allocations: 333.3 kB / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.008999, allocations: 0 / 384.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.009032, allocations: 11.98 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.009034, allocations: 0 / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.009041, allocations: 8 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.009043, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.009044, allocations: 0 / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.009149, allocations: 211.8 kB / 384.4 MB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-06/0.009157, allocations: 7.953 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.009168, allocations: 0 / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.078e-05/0.009199, allocations: 4 kB / 384.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.061e-05/0.00923, allocations: 3.984 kB / 384.5 MB, free: 12.06 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.009236, allocations: 7.938 kB / 384.5 MB, free: 12.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.361e-05/0.0093, allocations: 157.6 kB / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0093, allocations: 0 / 384.6 MB, free: 11.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001557/0.009455, allocations: 20 kB / 384.6 MB, free: 11.88 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.0008625/0.01032, allocations: 373.5 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.01043, allocations: 35.67 kB / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.01043, allocations: 0 / 385 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.01045, allocations: 23.75 kB / 385.1 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01067, allocations: 19.92 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.01103, allocations: 190.3 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.371e-05/0.01107, allocations: 63.34 kB / 385.3 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.232e-05/0.01111, allocations: 11.98 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01114, allocations: 16.5 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01114, allocations: 0 / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of Templates: time 0.003458/0.01459, allocations: 1.251 MB / 386.6 MB, free: 9.977 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.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.2421328057534993]