Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.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.001075/0.001075, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.000996/0.000996, allocations: 165 kB / 24.99 MB, free: 8.219 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.9453/0.9453, allocations: 177 MB / 205.2 MB, free: 5.574 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.2554/0.2554, allocations: 34.86 MB / 296.6 MB, free: 0.5547 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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.481e-05, allocations: 2.312 kB / 378.8 MB, free: 2.398 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.002157/0.002181, allocations: 1.64 MB / 380.4 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000728/0.002909, allocations: 0.5524 MB / 381 MB, free: 196 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.002973, allocations: 7.938 kB / 381 MB, free: 188 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.00327, allocations: 123.6 kB / 381.1 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002893/0.003559, allocations: 135.4 kB / 381.2 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.003829, allocations: 103.7 kB / 381.3 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.004012, allocations: 111.7 kB / 381.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.004116, allocations: 8 kB / 381.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.553e-05/0.004191, allocations: 63.86 kB / 381.5 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001131/0.004304, allocations: 79.83 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.00432, allocations: 4 kB / 381.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.677e-05/0.004407, allocations: 43.92 kB / 381.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.627e-05/0.004463, allocations: 31.91 kB / 381.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.004498, allocations: 23.86 kB / 381.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001668/0.004665, allocations: 103.5 kB / 381.8 MB, free: 15.37 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.004667, allocations: 4 kB / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.52e-07/0.004667, allocations: 0 / 381.8 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.004672, allocations: 0 / 381.8 MB, free: 15.36 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.000423/0.005095, allocations: 463.7 kB / 382.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.005131, allocations: 8.031 kB / 382.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.801e-05/0.005179, allocations: 20.83 kB / 382.3 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/0.00534, allocations: 156.4 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.00535, allocations: 4.375 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.00537, allocations: 4.375 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.005486, allocations: 62.88 kB / 382.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.005497, allocations: 8.188 kB / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.005506, allocations: 384 / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.005514, allocations: 384 / 382.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.617e-05/0.00555, allocations: 15.92 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003347/0.005885, allocations: 307.7 kB / 382.8 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.886e-05/0.005954, allocations: 46.98 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.005977, allocations: 11.69 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.005997, allocations: 0 / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.00602, allocations: 37.33 kB / 382.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.00602, allocations: 4 kB / 382.9 MB, free: 14.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000545/0.006565, allocations: 185.2 kB / 383.1 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.006597, allocations: 55.41 kB / 383.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.00676, allocations: 270.7 kB / 383.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.006771, allocations: 25.7 kB / 383.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.961e-05/0.00684, allocations: 174.8 kB / 383.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.006866, allocations: 27.75 kB / 383.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.27e-05/0.006898, allocations: 23.38 kB / 383.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.007019, allocations: 0.504 MB / 384.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.007043, allocations: 16 kB / 384.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.757e-05/0.00706, allocations: 11.98 kB / 384.2 MB, free: 12.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.753e-05/0.007108, allocations: 31.77 kB / 384.2 MB, free: 12.72 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007109, allocations: 4 kB / 384.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.421e-05/0.007203, allocations: 81.52 kB / 384.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.007221, allocations: 8 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.007226, allocations: 3.938 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.007239, allocations: 0 / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.857e-05/0.007308, allocations: 15.98 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.189e-06/0.007313, allocations: 320 / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.022e-05/0.007333, allocations: 4 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.007339, allocations: 4 kB / 384.3 MB, free: 12.59 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.604e-05/0.007405, allocations: 160.6 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.00743, allocations: 23.83 kB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.007565, allocations: 95.06 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007566, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.007569, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.007573, allocations: 432 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.00787, allocations: 392.9 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.007872, allocations: 0 / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.839e-05/0.007911, allocations: 24.02 kB / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.007913, allocations: 0 / 385 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.007922, allocations: 8 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.007924, allocations: 0 / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.007926, allocations: 3.984 kB / 385 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001253/0.008051, allocations: 247.3 kB / 385.3 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.008061, allocations: 11.89 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.008074, allocations: 4 kB / 385.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.555e-05/0.008109, allocations: 4 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.052e-05/0.00814, allocations: 3.984 kB / 385.3 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.008145, allocations: 8 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.557e-05/0.008241, allocations: 192.1 kB / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008241, allocations: 0 / 385.5 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.008408, allocations: 23.94 kB / 385.5 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.000915/0.009323, allocations: 426.8 kB / 385.9 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001045/0.009427, allocations: 55.56 kB / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.009429, allocations: 0 / 386 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.883e-05/0.009458, allocations: 27.62 kB / 386 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002108/0.009669, allocations: 31.86 kB / 386 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.01002, allocations: 263.2 kB / 386.3 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.396e-05/0.01007, allocations: 79.31 kB / 386.4 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.01012, allocations: 16.72 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.01015, allocations: 16.5 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01015, allocations: 4 kB / 386.4 MB, free: 10.5 MB / 362.7 MB Notification: Performance of Templates: time 0.002952/0.0131, allocations: 1.429 MB / 387.8 MB, free: 9.078 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.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.0610680968966335]