Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009153/0.0009153, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001003/0.001003, allocations: 170 kB / 24.82 MB, free: 9.254 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.895/0.895, allocations: 177 MB / 205.1 MB, free: 5.492 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.2433/0.2433, allocations: 34.86 MB / 296.6 MB, free: 0.5156 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 379.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.701e-05, allocations: 6.25 kB / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001954/0.001971, allocations: 1.628 MB / 380.9 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006686/0.00264, allocations: 0.5291 MB / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.943e-05/0.002689, allocations: 0 / 381.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000163/0.002852, allocations: 23.78 kB / 381.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.003064, allocations: 83.56 kB / 381.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.003237, allocations: 87.69 kB / 381.6 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.003348, allocations: 67.72 kB / 381.7 MB, free: 15.41 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.003426, allocations: 19.84 kB / 381.7 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.003477, allocations: 31.91 kB / 381.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.145e-05/0.003528, allocations: 15.98 kB / 381.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.003539, allocations: 0 / 381.7 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.482e-05/0.003594, allocations: 31.92 kB / 381.8 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.467e-05/0.003629, allocations: 19.92 kB / 381.8 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 1.956e-05/0.003648, allocations: 11.94 kB / 381.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.003759, allocations: 67.69 kB / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.443e-06/0.003761, allocations: 0 / 381.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003762, allocations: 3.984 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.337e-06/0.003765, allocations: 4 kB / 381.9 MB, free: 15.2 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.0003008/0.004066, allocations: 408.2 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.993e-05/0.004096, allocations: 11.97 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.376e-05/0.00412, allocations: 8.891 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.628e-05/0.004216, allocations: 136.5 kB / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.67e-06/0.004222, allocations: 384 / 382.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.004235, allocations: 4.375 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.961e-05/0.004305, allocations: 58.89 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.004311, allocations: 192 / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.004316, allocations: 384 / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-06/0.004319, allocations: 384 / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.872e-05/0.004338, allocations: 15.92 kB / 382.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.004524, allocations: 252.4 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.004625, allocations: 42.98 kB / 382.8 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.294e-05/0.004637, allocations: 7.688 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.004656, allocations: 4 kB / 382.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.711e-05/0.004673, allocations: 37.39 kB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.004674, allocations: 0 / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002145/0.004889, allocations: 89.53 kB / 382.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.338e-05/0.004912, allocations: 55.41 kB / 383 MB, free: 13.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.522e-05/0.005007, allocations: 197.9 kB / 383.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005018, allocations: 29.7 kB / 383.2 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.138e-05/0.005059, allocations: 142.9 kB / 383.3 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.005077, allocations: 19.78 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.756e-05/0.005105, allocations: 27.36 kB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.005232, allocations: 0.4923 MB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.016e-05/0.005242, allocations: 4 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.042e-05/0.005253, allocations: 4.188 kB / 383.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.772e-05/0.005281, allocations: 31.61 kB / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.005281, allocations: 0 / 383.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.539e-05/0.005337, allocations: 49.66 kB / 384 MB, free: 12.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.889e-06/0.005347, allocations: 15.94 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.00535, allocations: 0 / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.005358, allocations: 3.984 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.324e-05/0.005391, allocations: 8 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-06/0.005393, allocations: 0 / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.005409, allocations: 7.938 kB / 384 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-06/0.005412, allocations: 0 / 384 MB, free: 12.87 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 5.817e-05/0.005471, allocations: 168.5 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.005486, allocations: 7.953 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.271e-05/0.005569, allocations: 66.09 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.005571, allocations: 0 / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005572, allocations: 0 / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.005576, allocations: 7.984 kB / 384.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001819/0.005758, allocations: 294 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.21e-07/0.005759, allocations: 0 / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.348e-05/0.005782, allocations: 8 kB / 384.5 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.005785, allocations: 7.938 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.008e-06/0.005789, allocations: 192 / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.005791, allocations: 4 kB / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.91e-07/0.005791, allocations: 0 / 384.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.033e-05/0.005882, allocations: 203.9 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.023e-05/0.005892, allocations: 15.88 kB / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.975e-06/0.0059, allocations: 0 / 384.8 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.1e-05/0.005931, allocations: 7.938 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.876e-05/0.00595, allocations: 4 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.005952, allocations: 0 / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.836e-05/0.006001, allocations: 150.2 kB / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006001, allocations: 0 / 384.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001442/0.006145, allocations: 16 kB / 384.9 MB, free: 11.86 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.0007021/0.006847, allocations: 378.5 kB / 385.3 MB, free: 11.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.033e-05/0.006917, allocations: 27.67 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.006918, allocations: 0 / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.039e-05/0.006939, allocations: 27.59 kB / 385.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001808/0.00712, allocations: 19.95 kB / 385.4 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.007352, allocations: 182.5 kB / 385.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.554e-05/0.007388, allocations: 63.34 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.486e-05/0.007413, allocations: 7.984 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.007465, allocations: 86.19 kB / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of SimCode: time 4.31e-07/0.007466, allocations: 0 / 385.7 MB, free: 11.13 MB / 362.7 MB Notification: Performance of Templates: time 0.002437/0.009902, allocations: 1.254 MB / 387 MB, free: 9.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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: 2.7832352300174534]