Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.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.001195/0.001195, allocations: 81.81 kB / 21.42 MB, free: 3.062 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.001177/0.001177, allocations: 163.5 kB / 24.82 MB, free: 9.289 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.9876/0.9876, allocations: 177 MB / 205.1 MB, free: 5.469 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.263/0.263, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 379.2 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.616e-05, allocations: 4.984 kB / 379.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.002247/0.002273, allocations: 1.705 MB / 381 MB, free: 72 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008005/0.003074, allocations: 0.5679 MB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.003141, allocations: 4 kB / 381.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004604/0.003601, allocations: 463 kB / 382 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.00399, allocations: 303.1 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.004334, allocations: 171.5 kB / 382.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.004564, allocations: 183.6 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.004674, allocations: 12.22 kB / 382.6 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.004825, allocations: 131.7 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001974/0.005023, allocations: 235.7 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.00504, allocations: 4 kB / 383 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.005136, allocations: 51.86 kB / 383 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003436/0.005479, allocations: 87.7 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.644e-05/0.005516, allocations: 43.73 kB / 383.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.005729, allocations: 215 kB / 383.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005733, allocations: 3.984 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.005734, allocations: 0 / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005738, allocations: 0 / 383.4 MB, free: 13.62 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005189/0.006257, allocations: 0.7008 MB / 384.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.006296, allocations: 12.03 kB / 384.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.006351, allocations: 44.66 kB / 384.1 MB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001826/0.006534, allocations: 252.8 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.849e-06/0.006543, allocations: 4.375 kB / 384.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.775e-05/0.006561, allocations: 4.375 kB / 384.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.763e-05/0.006659, allocations: 66.94 kB / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.006667, allocations: 192 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.61e-06/0.006673, allocations: 384 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.006679, allocations: 384 / 384.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.038e-05/0.00671, allocations: 19.86 kB / 384.5 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003321/0.007042, allocations: 348.2 kB / 384.8 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/0.0071, allocations: 43.08 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.741e-05/0.007117, allocations: 11.69 kB / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.007139, allocations: 0 / 384.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.007162, allocations: 41.33 kB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.007162, allocations: 8 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004516/0.007614, allocations: 181.7 kB / 385.1 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.373e-05/0.007638, allocations: 55.34 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003563/0.007994, allocations: 0.6117 MB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.008008, allocations: 33.7 kB / 385.8 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.008147, allocations: 290.8 kB / 386.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.008178, allocations: 31.72 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.008211, allocations: 23.38 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.008366, allocations: 0.5664 MB / 386.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.008383, allocations: 7.938 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.653e-05/0.008399, allocations: 11.98 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.76e-05/0.008437, allocations: 23.69 kB / 386.7 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.008439, allocations: 3.938 kB / 386.8 MB, free: 10.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.844e-05/0.008537, allocations: 109.4 kB / 386.9 MB, free: 9.941 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.008549, allocations: 4 kB / 386.9 MB, free: 9.938 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.008555, allocations: 3.984 kB / 386.9 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008567, allocations: 4 kB / 386.9 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.36e-05/0.008631, allocations: 19.92 kB / 386.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.164e-06/0.008633, allocations: 4 kB / 386.9 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.625e-05/0.008659, allocations: 4 kB / 386.9 MB, free: 9.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.588e-06/0.008664, allocations: 0 / 386.9 MB, free: 9.902 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 7.533e-05/0.008739, allocations: 164.5 kB / 387.1 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.008775, allocations: 51.67 kB / 387.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001432/0.008918, allocations: 109.8 kB / 387.2 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.008921, allocations: 4 kB / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.008923, allocations: 0 / 387.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.008926, allocations: 3.984 kB / 387.2 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.009263, allocations: 437.4 kB / 387.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.009265, allocations: 0 / 387.7 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.009303, allocations: 12 kB / 387.7 MB, free: 9.078 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.009307, allocations: 7.984 kB / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-06/0.009312, allocations: 0 / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.009313, allocations: 0 / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.009314, allocations: 0 / 387.7 MB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/0.009446, allocations: 275.2 kB / 387.9 MB, free: 8.777 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.405e-05/0.00947, allocations: 31.72 kB / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.38e-05/0.009484, allocations: 0 / 388 MB, free: 8.746 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.194e-05/0.009526, allocations: 15.95 kB / 388 MB, free: 8.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.00955, allocations: 8 kB / 388 MB, free: 8.723 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-06/0.009555, allocations: 3.984 kB / 388 MB, free: 8.719 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002029/0.009758, allocations: 394.7 kB / 388.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009758, allocations: 0 / 388.4 MB, free: 8.336 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00018/0.009938, allocations: 27.98 kB / 388.4 MB, free: 8.309 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.0008792/0.01082, allocations: 432.6 kB / 388.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.01091, allocations: 35.61 kB / 388.9 MB, free: 7.973 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01091, allocations: 4 kB / 388.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.921e-05/0.01094, allocations: 35.81 kB / 388.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.01118, allocations: 25.95 kB / 388.9 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006077/0.01178, allocations: 0.6079 MB / 389.5 MB, free: 7.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.883e-05/0.01186, allocations: 123.2 kB / 389.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.274e-05/0.0119, allocations: 16.72 kB / 389.7 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/0.01197, allocations: 78.2 kB / 389.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of SimCode: time 8.11e-07/0.01197, allocations: 0 / 389.8 MB, free: 7.031 MB / 362.7 MB Notification: Performance of Templates: time 0.004454/0.01642, allocations: 1.783 MB / 391.5 MB, free: 5.258 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.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.0102609298191965]