Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.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.00148/0.00148, allocations: 96.27 kB / 20.96 MB, free: 3.449 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.001592/0.001592, allocations: 152.9 kB / 24.26 MB, free: 156 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.548/1.548, allocations: 177 MB / 204.4 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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.3474/0.3474, allocations: 34.25 MB / 295.2 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 179] 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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 377.3 MB, free: 2.828 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.228e-05/3.38e-05, allocations: 8 kB / 377.3 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.003789/0.003823, allocations: 1.704 MB / 379 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.006016, allocations: 0.9853 MB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.49e-05/0.0061, allocations: 0 / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.006461, allocations: 47.69 kB / 380 MB, free: 64 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.006859, allocations: 95.64 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.007102, allocations: 83.61 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.007308, allocations: 111.5 kB / 380.3 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.278e-05/0.007401, allocations: 7.984 kB / 380.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.007523, allocations: 47.91 kB / 380.4 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.852e-05/0.007612, allocations: 31.83 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.007634, allocations: 4 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001038/0.007737, allocations: 39.94 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.007804, allocations: 23.92 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.007857, allocations: 23.91 kB / 380.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.008126, allocations: 119.6 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.008129, allocations: 7.938 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.008131, allocations: 0 / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.008136, allocations: 0 / 380.6 MB, free: 15.48 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.000616/0.008752, allocations: 341.6 kB / 380.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.008791, allocations: 8.031 kB / 381 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.111e-05/0.008862, allocations: 16.84 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.009188, allocations: 150.3 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.009207, allocations: 4.359 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.009241, allocations: 12.31 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.009411, allocations: 58.23 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.009423, allocations: 4.188 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.009433, allocations: 384 / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.009443, allocations: 7.938 kB / 381.2 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.009523, allocations: 15.98 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004463/0.009969, allocations: 236.5 kB / 381.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.01017, allocations: 58.61 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.709e-05/0.01024, allocations: 20.84 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.01026, allocations: 4 kB / 381.5 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.01044, allocations: 75.31 kB / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.182e-06/0.01044, allocations: 0 / 381.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006621/0.0111, allocations: 181.4 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.01115, allocations: 51.41 kB / 381.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.0114, allocations: 202.7 kB / 382 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.672e-05/0.01143, allocations: 33.7 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.01152, allocations: 104.1 kB / 382.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.01156, allocations: 31.72 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.01161, allocations: 25.72 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.0118, allocations: 322.8 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.055e-05/0.01188, allocations: 27.92 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.917e-05/0.01196, allocations: 37.7 kB / 382.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.0121, allocations: 61.69 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.0121, allocations: 0 / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002175/0.01232, allocations: 105.5 kB / 382.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.01234, allocations: 8 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01234, allocations: 0 / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.01237, allocations: 3.984 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.01247, allocations: 16 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.01249, allocations: 12.12 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.315e-05/0.01255, allocations: 0 / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01256, allocations: 4 kB / 382.8 MB, free: 13.09 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 0.0001309/0.01269, allocations: 128.1 kB / 382.9 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.01273, allocations: 19.84 kB / 383 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002989/0.01303, allocations: 123 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.01303, allocations: 4 kB / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01304, allocations: 384 / 383.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.01304, allocations: 3.984 kB / 383.1 MB, free: 12.81 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005078/0.01355, allocations: 350.9 kB / 383.4 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.246e-06/0.01356, allocations: 8 kB / 383.4 MB, free: 12.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.0136, allocations: 11.98 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01361, allocations: 0 / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01362, allocations: 4 kB / 383.4 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01362, allocations: 4 kB / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01362, allocations: 0 / 383.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.01397, allocations: 212.2 kB / 383.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.504e-05/0.014, allocations: 15.89 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.01402, allocations: 4.031 kB / 383.7 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.0141, allocations: 8 kB / 383.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.01414, allocations: 7.984 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01416, allocations: 4 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.01431, allocations: 147.2 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01431, allocations: 4 kB / 383.8 MB, free: 11.99 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002662/0.01458, allocations: 31.81 kB / 383.9 MB, free: 11.96 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.002342/0.01692, allocations: 487.2 kB / 384.4 MB, free: 11.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.01714, allocations: 59.86 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01714, allocations: 0 / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.063e-05/0.01723, allocations: 31.98 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.0176, allocations: 29.66 kB / 384.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.01823, allocations: 241.7 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.01835, allocations: 92.3 kB / 384.8 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.01841, allocations: 17.27 kB / 384.8 MB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.496e-05/0.01845, allocations: 16.5 kB / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01845, allocations: 0 / 384.8 MB, free: 11.12 MB / 362.7 MB Notification: Performance of Templates: time 0.005862/0.02431, allocations: 1.874 MB / 386.7 MB, free: 9.266 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test19/Test19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.904730510083027]