Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.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.001105/0.001105, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.0009629/0.0009629, allocations: 160.5 kB / 24.55 MB, free: 20 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.9623/0.9623, allocations: 177 MB / 204.8 MB, free: 5.578 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.2925/0.2925, allocations: 34.86 MB / 296.3 MB, free: 496 kB / 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.338e-05/2.5e-05, allocations: 4.984 kB / 378.9 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002355/0.00238, allocations: 1.769 MB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.003723, allocations: 1.009 MB / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.003804, allocations: 0 / 381.6 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003093/0.004113, allocations: 43.7 kB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.004441, allocations: 103.5 kB / 381.8 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.004658, allocations: 83.59 kB / 381.9 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001642/0.004823, allocations: 103.7 kB / 382 MB, free: 14.87 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.928e-05/0.004912, allocations: 4 kB / 382 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.548e-05/0.004997, allocations: 59.77 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.434e-05/0.005072, allocations: 27.91 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.005087, allocations: 4 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.43e-05/0.005171, allocations: 47.91 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.968e-05/0.005221, allocations: 19.92 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.766e-05/0.005259, allocations: 19.88 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.00544, allocations: 99.59 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005443, allocations: 4 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.005444, allocations: 0 / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.00545, allocations: 4 kB / 382.2 MB, free: 14.58 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.0004523/0.005902, allocations: 443.9 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.005936, allocations: 8.031 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.36e-05/0.005989, allocations: 20.84 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.006151, allocations: 149.1 kB / 382.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.00617, allocations: 4.375 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.006191, allocations: 4.359 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.006326, allocations: 70.88 kB / 382.9 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.006337, allocations: 4.188 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.006348, allocations: 384 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.085e-06/0.006356, allocations: 7.875 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.542e-05/0.006392, allocations: 12 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.006704, allocations: 287.8 kB / 383.2 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.006815, allocations: 55.09 kB / 383.3 MB, free: 13.42 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.809e-05/0.006843, allocations: 15.69 kB / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.241e-05/0.006855, allocations: 0 / 383.3 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.006958, allocations: 72.98 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.006959, allocations: 4 kB / 383.4 MB, free: 13.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004111/0.00737, allocations: 157.4 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/0.007402, allocations: 55.39 kB / 383.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.007534, allocations: 238.3 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.007546, allocations: 25.7 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.0076, allocations: 150.9 kB / 384 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.007628, allocations: 27.78 kB / 384 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.365e-05/0.007661, allocations: 27.38 kB / 384 MB, free: 12.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.007773, allocations: 0.4962 MB / 384.5 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.676e-05/0.0078, allocations: 11.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.465e-05/0.007835, allocations: 43.25 kB / 384.6 MB, free: 12.02 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.802e-05/0.007893, allocations: 47.36 kB / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.007894, allocations: 0 / 384.6 MB, free: 11.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001252/0.008019, allocations: 93.47 kB / 384.7 MB, free: 11.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.008035, allocations: 8 kB / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.008039, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.008053, allocations: 0 / 384.7 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.437e-05/0.008127, allocations: 19.98 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.008133, allocations: 4 kB / 384.8 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.813e-05/0.008161, allocations: 4.031 kB / 384.8 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008168, allocations: 4 kB / 384.8 MB, free: 11.83 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 8.154e-05/0.00825, allocations: 168.5 kB / 384.9 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.008265, allocations: 11.89 kB / 384.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000146/0.008411, allocations: 103.1 kB / 385 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.008414, allocations: 3.984 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.008418, allocations: 4.375 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.008421, allocations: 0 / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002712/0.008692, allocations: 392.9 kB / 385.4 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.008694, allocations: 8.031 kB / 385.4 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.008722, allocations: 15.94 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.008726, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.008736, allocations: 7.984 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.008738, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.008739, allocations: 0 / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.008877, allocations: 255.4 kB / 385.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.00889, allocations: 11.91 kB / 385.7 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.008908, allocations: 8 kB / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.868e-05/0.008947, allocations: 0 / 385.7 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.008979, allocations: 11.98 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.008992, allocations: 4 kB / 385.8 MB, free: 10.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.852e-05/0.009071, allocations: 171.1 kB / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009071, allocations: 0 / 385.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001776/0.009248, allocations: 27.94 kB / 385.9 MB, free: 10.56 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.0009778/0.01023, allocations: 431.5 kB / 386.4 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01036, allocations: 55.59 kB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01036, allocations: 0 / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.293e-05/0.0104, allocations: 35.67 kB / 386.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01063, allocations: 31.73 kB / 386.5 MB, free: 10.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.01098, allocations: 221.9 kB / 386.7 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.123e-05/0.01102, allocations: 67.33 kB / 386.8 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.125e-05/0.01106, allocations: 29.2 kB / 386.8 MB, free: 9.773 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/0.01109, allocations: 12.5 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01109, allocations: 4 kB / 386.8 MB, free: 9.758 MB / 362.7 MB Notification: Performance of Templates: time 0.003715/0.01481, allocations: 1.991 MB / 388.8 MB, free: 7.789 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.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.0718157119117677]