Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.0009932/0.0009932, allocations: 81.91 kB / 21.42 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.0009972/0.0009972, allocations: 169.7 kB / 24.82 MB, free: 9.273 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.9975/0.9975, allocations: 177 MB / 205.1 MB, free: 5.477 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.2468/0.2468, 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.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278e-05/1.417e-05, allocations: 6.25 kB / 379.3 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001935/0.001949, allocations: 1.757 MB / 381.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001047/0.002996, allocations: 0.9968 MB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.036e-05/0.003057, allocations: 0 / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.003291, allocations: 47.64 kB / 382.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.003506, allocations: 91.53 kB / 382.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.003635, allocations: 79.61 kB / 382.3 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.003766, allocations: 111.6 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.142e-05/0.003837, allocations: 4 kB / 382.4 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.763e-05/0.003915, allocations: 63.77 kB / 382.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.003974, allocations: 27.91 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.003987, allocations: 4 kB / 382.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.581e-05/0.004053, allocations: 43.92 kB / 382.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.795e-05/0.004091, allocations: 23.91 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.789e-05/0.004119, allocations: 11.94 kB / 382.6 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001383/0.004257, allocations: 99.66 kB / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.422e-06/0.004258, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004259, allocations: 0 / 382.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.004262, allocations: 0 / 382.7 MB, free: 14.35 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003528/0.004615, allocations: 451.8 kB / 383.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.004647, allocations: 12.03 kB / 383.1 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.873e-05/0.004675, allocations: 12.89 kB / 383.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.004795, allocations: 140.4 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.004809, allocations: 4.375 kB / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.218e-05/0.004821, allocations: 384 / 383.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.928e-05/0.00491, allocations: 62.94 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.004918, allocations: 192 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.004924, allocations: 384 / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004929, allocations: 3.938 kB / 383.3 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.585e-05/0.004955, allocations: 15.92 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002075/0.005163, allocations: 260.4 kB / 383.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.174e-05/0.005235, allocations: 43.17 kB / 383.7 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.103e-05/0.005256, allocations: 19.67 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.005269, allocations: 4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.469e-05/0.005344, allocations: 72.92 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.005345, allocations: 0 / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002618/0.005607, allocations: 133.4 kB / 383.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.339e-05/0.00563, allocations: 51.41 kB / 383.9 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.005729, allocations: 220 kB / 384.1 MB, free: 12.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.005741, allocations: 29.7 kB / 384.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.005788, allocations: 146.9 kB / 384.3 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.005812, allocations: 31.77 kB / 384.3 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.749e-05/0.005839, allocations: 23.38 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.005943, allocations: 0.4962 MB / 384.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.005959, allocations: 11.98 kB / 384.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.572e-05/0.005985, allocations: 31.36 kB / 384.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.006026, allocations: 43.67 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.006027, allocations: 4 kB / 385 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.394e-05/0.006111, allocations: 85.52 kB / 385 MB, free: 11.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.006122, allocations: 15.92 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.006126, allocations: 4 kB / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.868e-06/0.006136, allocations: 0 / 385.1 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.26e-05/0.006189, allocations: 12 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.065e-06/0.006192, allocations: 4 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.006215, allocations: 0 / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.006221, allocations: 7.984 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.6e-05/0.006287, allocations: 164.6 kB / 385.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.506e-05/0.006302, allocations: 23.81 kB / 385.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001136/0.006416, allocations: 98.44 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.006417, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-06/0.006418, allocations: 4 kB / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.006421, allocations: 0 / 385.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002229/0.006644, allocations: 353.6 kB / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.006646, allocations: 0 / 385.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.451e-05/0.00667, allocations: 19.92 kB / 385.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.006673, allocations: 4 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.95e-06/0.006678, allocations: 0 / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.006679, allocations: 4.031 kB / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.00668, allocations: 0 / 385.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.006798, allocations: 255.4 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.909e-06/0.006808, allocations: 7.953 kB / 386 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.006821, allocations: 4 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.00686, allocations: 4 kB / 386 MB, free: 10.72 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.016e-05/0.00688, allocations: 3.984 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.006889, allocations: 4 kB / 386 MB, free: 10.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.531e-05/0.006945, allocations: 160 kB / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006945, allocations: 0 / 386.2 MB, free: 10.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001602/0.007105, allocations: 35.92 kB / 386.2 MB, free: 10.52 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007615/0.007867, allocations: 433.6 kB / 386.6 MB, free: 10.22 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.719e-05/0.007944, allocations: 51.59 kB / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007945, allocations: 0 / 386.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.963e-05/0.007974, allocations: 31.61 kB / 386.7 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/0.00818, allocations: 37.42 kB / 386.7 MB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002607/0.008441, allocations: 210.5 kB / 387 MB, free: 9.859 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.507e-05/0.008476, allocations: 63.34 kB / 387 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.008508, allocations: 21.27 kB / 387 MB, free: 9.758 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.008571, allocations: 86.19 kB / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008572, allocations: 0 / 387.1 MB, free: 9.672 MB / 362.7 MB Notification: Performance of Templates: time 0.003117/0.01169, allocations: 2.027 MB / 389.1 MB, free: 7.672 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.9410144882276654]