Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.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.0009312/0.0009312, allocations: 95.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.001037/0.001037, 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 0.9746/0.9746, allocations: 177 MB / 204.8 MB, free: 5.59 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.2996/0.2996, allocations: 34.86 MB / 296.3 MB, free: 0.5312 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.Test15,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.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.CombiTable1Ds.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 378.8 MB, free: 2.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.098e-05/3.284e-05, allocations: 2.312 kB / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002473/0.002506, allocations: 1.661 MB / 380.5 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000781/0.003287, allocations: 0.5369 MB / 381 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.449e-05/0.003351, allocations: 4 kB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.003628, allocations: 79.64 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003241/0.003953, allocations: 103.5 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.004197, allocations: 91.64 kB / 381.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.004369, allocations: 87.69 kB / 381.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.996e-05/0.004469, allocations: 15.98 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.801e-05/0.004537, allocations: 43.89 kB / 381.4 MB, free: 15.44 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.004638, allocations: 59.86 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.004654, allocations: 0 / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.879e-05/0.004743, allocations: 47.92 kB / 381.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.004796, allocations: 23.91 kB / 381.5 MB, free: 15.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.827e-05/0.004824, allocations: 11.94 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.004987, allocations: 87.72 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.00499, allocations: 4 kB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004991, allocations: 3.938 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.004996, allocations: 4 kB / 381.6 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004123/0.005408, allocations: 439.9 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.005442, allocations: 8.031 kB / 382.1 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.35e-05/0.005486, allocations: 16.84 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.005628, allocations: 149.1 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005638, allocations: 4.375 kB / 382.2 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.005657, allocations: 4.375 kB / 382.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.005763, allocations: 54.95 kB / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.005773, allocations: 192 / 382.3 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.005784, allocations: 12.31 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.005791, allocations: 8.359 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.937e-05/0.00582, allocations: 11.94 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.006119, allocations: 291.7 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.177e-05/0.006191, allocations: 46.98 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.615e-05/0.006217, allocations: 11.69 kB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.006236, allocations: 4 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.006258, allocations: 45.31 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.006259, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004899/0.006749, allocations: 169.5 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.006784, allocations: 55.39 kB / 382.9 MB, free: 13.74 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.006925, allocations: 238.4 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.006938, allocations: 25.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.377e-05/0.007002, allocations: 158.8 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.007027, allocations: 27.75 kB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.007061, allocations: 27.36 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.007194, allocations: 0.5001 MB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.015e-05/0.007214, allocations: 4 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.041e-05/0.007235, allocations: 15.92 kB / 383.9 MB, free: 12.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.718e-05/0.007282, allocations: 35.69 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.007283, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 7.891e-05/0.007362, allocations: 81.53 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.007377, allocations: 4 kB / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.007381, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.007397, allocations: 0 / 384.1 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.84e-05/0.007465, allocations: 23.92 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.007468, allocations: 320 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.723e-05/0.007486, allocations: 0 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.007493, allocations: 11.98 kB / 384.1 MB, free: 12.54 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.807e-05/0.007562, allocations: 160.5 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.007586, allocations: 23.84 kB / 384.3 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001258/0.007712, allocations: 87.11 kB / 384.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.007714, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.007716, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.00772, allocations: 0 / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.008003, allocations: 377 kB / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.008005, allocations: 0 / 384.7 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.445e-05/0.00804, allocations: 19.92 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.008041, allocations: 0 / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.133e-06/0.008048, allocations: 8.031 kB / 384.7 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.00805, allocations: 4 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.008051, allocations: 0 / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.008183, allocations: 235.5 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-06/0.008192, allocations: 7.953 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.008205, allocations: 11.92 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.008235, allocations: 0 / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.008268, allocations: 11.98 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.008273, allocations: 4 kB / 385 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.039e-05/0.008343, allocations: 167.2 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008343, allocations: 3.938 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.008508, allocations: 23.94 kB / 385.2 MB, free: 11.33 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.0009403/0.009448, allocations: 424.5 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.009572, allocations: 47.59 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.009575, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.881e-05/0.009604, allocations: 27.67 kB / 385.7 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002312/0.009835, allocations: 23.94 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004061/0.01024, allocations: 229.9 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.037e-05/0.01029, allocations: 79.33 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.249e-05/0.01032, allocations: 8.734 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.01036, allocations: 16.48 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.01036, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of Templates: time 0.00391/0.01427, allocations: 1.476 MB / 387.5 MB, free: 9.094 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.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.141496540978551]