Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.001755/0.001755, allocations: 89.69 kB / 20.69 MB, free: 1.02 MB / 14.72 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.002206/0.002206, allocations: 159.2 kB / 23.95 MB, free: 4.148 MB / 14.72 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.504/1.504, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 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.2132/0.2132, allocations: 34.26 MB / 294.8 MB, free: 14.54 MB / 286.1 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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.824e-06/1.824e-06, allocations: 0 / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.106e-05/3.288e-05, allocations: 2.281 kB / 442.8 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003937/0.00397, allocations: 1.704 MB / 444.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002176/0.006147, allocations: 0.9736 MB / 445.4 MB, free: 2.512 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.006266, allocations: 11.94 kB / 445.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.006621, allocations: 35.77 kB / 445.5 MB, free: 2.465 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004672/0.007088, allocations: 95.48 kB / 445.6 MB, free: 2.371 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.007395, allocations: 79.61 kB / 445.6 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.007649, allocations: 115.5 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.007759, allocations: 8 kB / 445.8 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.007917, allocations: 51.83 kB / 445.8 MB, free: 2.121 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.008019, allocations: 23.91 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.008043, allocations: 4 kB / 445.8 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.008172, allocations: 47.92 kB / 445.9 MB, free: 2.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.008242, allocations: 27.91 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.008294, allocations: 15.94 kB / 445.9 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002659/0.00856, allocations: 115.6 kB / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.008562, allocations: 0 / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.91e-07/0.008563, allocations: 0 / 446 MB, free: 1.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.008568, allocations: 0 / 446 MB, free: 1.891 MB / 366.1 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.000656/0.009224, allocations: 345.5 kB / 446.4 MB, free: 1.523 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.009263, allocations: 8.031 kB / 446.4 MB, free: 1.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.095e-05/0.009324, allocations: 8.891 kB / 446.4 MB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.009666, allocations: 157.5 kB / 446.6 MB, free: 1.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.009682, allocations: 4.312 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.009714, allocations: 4.375 kB / 446.6 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.009899, allocations: 58.17 kB / 446.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.009917, allocations: 4.172 kB / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.009928, allocations: 384 / 446.6 MB, free: 1.254 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.009938, allocations: 7.938 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.01004, allocations: 19.98 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.01052, allocations: 224.6 kB / 446.9 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.01074, allocations: 70.61 kB / 446.9 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.656e-05/0.01081, allocations: 20.84 kB / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.01083, allocations: 0 / 447 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001763/0.011, allocations: 71.33 kB / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.01101, allocations: 0 / 447 MB, free: 0.793 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006976/0.0117, allocations: 185.3 kB / 447.2 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.396e-05/0.01176, allocations: 55.39 kB / 447.3 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.012, allocations: 192 kB / 447.5 MB, free: 348 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.01203, allocations: 25.7 kB / 447.5 MB, free: 316 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.01214, allocations: 108.1 kB / 447.6 MB, free: 204 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.01218, allocations: 23.8 kB / 447.6 MB, free: 180 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.049e-05/0.01224, allocations: 25.7 kB / 447.6 MB, free: 148 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1867/0.1989, allocations: 322.8 kB / 447.9 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.1991, allocations: 17.91 kB / 448 MB, free: 18.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.68e-05/0.1992, allocations: 41.86 kB / 448 MB, free: 18.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.1993, allocations: 60.69 kB / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1993, allocations: 0 / 448.1 MB, free: 18.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.1996, allocations: 109.6 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1996, allocations: 5.125 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.1996, allocations: 0 / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1996, allocations: 2.094 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.1997, allocations: 18.86 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.1997, allocations: 1.094 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.007e-05/0.1998, allocations: 6.891 kB / 448.2 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.074e-05/0.1998, allocations: 8.391 kB / 448.2 MB, free: 18.92 MB / 366.1 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 9.797e-05/0.1999, allocations: 122.3 kB / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.1999, allocations: 12.73 kB / 448.3 MB, free: 18.81 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002884/0.2002, allocations: 125.5 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.379e-06/0.2002, allocations: 1.219 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2002, allocations: 3.938 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.2002, allocations: 1.828 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.2007, allocations: 347.4 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2007, allocations: 5.031 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.976e-05/0.2007, allocations: 9.359 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.2007, allocations: 1.438 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.426e-05/0.2007, allocations: 11.38 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2007, allocations: 1.938 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2007, allocations: 1.281 kB / 448.8 MB, free: 18.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000239/0.201, allocations: 215.1 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.201, allocations: 11.58 kB / 449.1 MB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.201, allocations: 5.125 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.671e-05/0.2011, allocations: 7.562 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.793e-05/0.2011, allocations: 10.16 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.327e-05/0.2012, allocations: 4.578 kB / 449.1 MB, free: 18.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001273/0.2013, allocations: 141.1 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2013, allocations: 1.25 kB / 449.2 MB, free: 18.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.2016, allocations: 25.47 kB / 449.3 MB, free: 18.3 MB / 366.1 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.001836/0.2034, allocations: 491.8 kB / 449.7 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.2036, allocations: 61.3 kB / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.2036, allocations: 0 / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.514e-05/0.2037, allocations: 32.53 kB / 449.8 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2041, allocations: 25.53 kB / 449.9 MB, free: 18.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000485/0.2046, allocations: 236.6 kB / 450.1 MB, free: 17.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.693e-05/0.2047, allocations: 86.59 kB / 450.2 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.548e-05/0.2047, allocations: 21.05 kB / 450.2 MB, free: 17.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.2048, allocations: 22.47 kB / 450.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2048, allocations: 0 / 450.2 MB, free: 17.85 MB / 366.1 MB Notification: Performance of Templates: time 0.006386/0.2112, allocations: 1.838 MB / 452 MB, free: 17.62 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.962068788707256]