Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.00102/0.00102, allocations: 95.5 kB / 21.2 MB, free: 3.363 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.001066/0.001066, allocations: 156.5 kB / 24.56 MB, free: 8 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 1.025/1.025, allocations: 177 MB / 204.8 MB, free: 5.566 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.282/0.282, allocations: 34.86 MB / 296.3 MB, free: 0.5352 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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test3,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.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 378.8 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.767e-05, allocations: 2.875 kB / 378.8 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test3): time 0.002494/0.002522, allocations: 1.652 MB / 380.4 MB, free: 408 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008209/0.003343, allocations: 0.5486 MB / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.789e-05/0.003401, allocations: 0 / 381 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.00369, allocations: 83.64 kB / 381.1 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002949/0.003985, allocations: 99.52 kB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.004258, allocations: 115.7 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.004416, allocations: 79.7 kB / 381.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004528, allocations: 19.97 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.98e-05/0.004597, allocations: 35.91 kB / 381.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.829e-05/0.004696, allocations: 55.88 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.004711, allocations: 0 / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.262e-05/0.004804, allocations: 47.92 kB / 381.5 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.25e-05/0.004856, allocations: 23.91 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.995e-05/0.004886, allocations: 11.94 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.005049, allocations: 87.66 kB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005052, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.005053, allocations: 7.938 kB / 381.6 MB, free: 15.19 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.005057, allocations: 0 / 381.6 MB, free: 15.19 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.0004286/0.005486, allocations: 435.9 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.005526, allocations: 16.03 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.658e-05/0.005572, allocations: 12.89 kB / 382.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.005717, allocations: 154.6 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.00573, allocations: 384 / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.351e-05/0.005754, allocations: 4.375 kB / 382.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.00588, allocations: 58.94 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.005892, allocations: 4.188 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-06/0.005902, allocations: 4.312 kB / 382.3 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.00591, allocations: 4.375 kB / 382.3 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.454e-05/0.005945, allocations: 15.92 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003281/0.006273, allocations: 291.8 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.155e-05/0.006344, allocations: 46.98 kB / 382.7 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.093e-05/0.006365, allocations: 11.69 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.006382, allocations: 0 / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.006406, allocations: 41.33 kB / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.006408, allocations: 0 / 382.7 MB, free: 13.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005834/0.006991, allocations: 165.5 kB / 382.9 MB, free: 13.81 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.007022, allocations: 51.41 kB / 382.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000141/0.007163, allocations: 242.5 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.072e-05/0.007174, allocations: 25.7 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.003e-05/0.007234, allocations: 154.8 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.007256, allocations: 23.8 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.007291, allocations: 27.38 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.007415, allocations: 0.4962 MB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.382e-05/0.007439, allocations: 15.92 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.93e-05/0.007458, allocations: 7.938 kB / 383.9 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.561e-05/0.007514, allocations: 39.67 kB / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007515, allocations: 0 / 384 MB, free: 12.67 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.961e-05/0.007604, allocations: 81.52 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.007618, allocations: 8 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.007623, allocations: 4 kB / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.007635, allocations: 0 / 384 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.551e-05/0.007731, allocations: 19.92 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.007736, allocations: 320 / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.9e-05/0.007755, allocations: 4 kB / 384.1 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.007761, allocations: 0 / 384.1 MB, free: 12.55 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.38e-05/0.007835, allocations: 160.6 kB / 384.2 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.007857, allocations: 15.84 kB / 384.2 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.008022, allocations: 95.11 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.008026, allocations: 4 kB / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.008029, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.008033, allocations: 0 / 384.3 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003351/0.008368, allocations: 373 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.00837, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.008417, allocations: 23.92 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.00842, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.00843, allocations: 4 kB / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.008431, allocations: 0 / 384.7 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.008433, allocations: 4.422 kB / 384.7 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.008581, allocations: 247.5 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.786e-05/0.008599, allocations: 7.953 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.008614, allocations: 3.938 kB / 385 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.515e-05/0.008649, allocations: 4 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.583e-05/0.008685, allocations: 7.969 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-06/0.008692, allocations: 8 kB / 385 MB, free: 11.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.859e-05/0.008771, allocations: 163.9 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008771, allocations: 0 / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001719/0.008942, allocations: 31.86 kB / 385.2 MB, free: 11.34 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.0009087/0.009851, allocations: 429.9 kB / 385.6 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001153/0.009966, allocations: 47.59 kB / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.009968, allocations: 0 / 385.7 MB, free: 10.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.249e-05/0.01, 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.0002202/0.01022, allocations: 23.98 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/0.0106, allocations: 230.2 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.016e-05/0.01065, allocations: 75.33 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.334e-05/0.01069, allocations: 16.78 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.01073, allocations: 16.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01073, allocations: 0 / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of Templates: time 0.004081/0.01481, allocations: 1.502 MB / 387.6 MB, free: 9.062 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/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: 3.1369541441090405]