Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.001588/0.001588, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.001843/0.001843, allocations: 160 kB / 23.95 MB, free: 4.168 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.537/1.537, allocations: 177 MB / 204.1 MB, free: 9.184 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.2186/0.2186, 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 442.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.942e-05, allocations: 8.75 kB / 442.7 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.003072/0.003102, allocations: 1.669 MB / 444.4 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001861/0.004962, allocations: 0.9619 MB / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.685e-05/0.005039, allocations: 0 / 445.4 MB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.005373, allocations: 71.66 kB / 445.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003565/0.005729, allocations: 111.5 kB / 445.5 MB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.005917, allocations: 67.62 kB / 445.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.006122, allocations: 115.6 kB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.006161, allocations: 4.234 kB / 445.7 MB, free: 2.215 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006283, allocations: 59.81 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.006385, allocations: 39.89 kB / 445.8 MB, free: 2.117 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.006405, allocations: 4 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.635e-05/0.006491, allocations: 39.91 kB / 445.9 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.077e-05/0.006552, allocations: 19.92 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.549e-05/0.006597, allocations: 19.94 kB / 445.9 MB, free: 2.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000215/0.006812, allocations: 103.6 kB / 446 MB, free: 1.934 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.006816, allocations: 3.938 kB / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.006818, allocations: 0 / 446 MB, free: 1.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.006823, allocations: 0 / 446 MB, free: 1.93 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006088/0.007431, allocations: 333.6 kB / 446.3 MB, free: 1.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007473, allocations: 12.03 kB / 446.4 MB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.075e-05/0.007534, allocations: 16.83 kB / 446.4 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003156/0.007849, allocations: 150.9 kB / 446.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.007864, allocations: 384 / 446.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.007875, allocations: 4.375 kB / 446.5 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.008047, allocations: 62.16 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.008058, allocations: 192 / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.008068, allocations: 384 / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.024e-06/0.008075, allocations: 3.938 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.282e-05/0.008158, allocations: 19.98 kB / 446.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002048/0.008362, allocations: 121.3 kB / 446.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001925/0.008555, allocations: 50.62 kB / 446.8 MB, free: 1.074 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.023e-05/0.008625, allocations: 28.78 kB / 446.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.008644, allocations: 0 / 446.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.00883, allocations: 67.39 kB / 446.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.008831, allocations: 0 / 446.9 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.000336/0.009167, allocations: 105.6 kB / 447 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.009222, allocations: 55.34 kB / 447 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.009451, allocations: 206.2 kB / 447.2 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.009472, allocations: 25.7 kB / 447.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.867e-05/0.009551, allocations: 100.1 kB / 447.3 MB, free: 456 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.735e-05/0.009588, allocations: 15.91 kB / 447.4 MB, free: 440 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.009631, allocations: 29.64 kB / 447.4 MB, free: 404 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.009832, allocations: 322.8 kB / 447.7 MB, free: 72 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.918e-05/0.009901, allocations: 12 kB / 447.7 MB, free: 60 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.219e-05/0.009973, allocations: 37.69 kB / 447.8 MB, free: 16 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.207/0.217, allocations: 37.23 kB / 447.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.217, allocations: 0 / 447.8 MB, free: 19.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002311/0.2172, allocations: 87.17 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.2172, allocations: 5.469 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2172, allocations: 3.172 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.2172, allocations: 1.094 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.2173, allocations: 11.67 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.2173, allocations: 1.062 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.88e-05/0.2174, allocations: 7.547 kB / 447.9 MB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.2174, allocations: 2.188 kB / 447.9 MB, free: 19.11 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 (7): * Single equations (assignments): 7 * 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.0001038/0.2175, allocations: 132.2 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.2175, allocations: 9.766 kB / 448 MB, free: 19 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000249/0.2178, allocations: 99.41 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.2178, allocations: 1.312 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2178, allocations: 0 / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.2178, allocations: 0.7969 kB / 448.1 MB, free: 18.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.2179, allocations: 141.3 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2179, allocations: 1.812 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.218, allocations: 11.36 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.218, allocations: 0 / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.218, allocations: 1.906 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.218, allocations: 1.812 kB / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.218, allocations: 0 / 448.3 MB, free: 18.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.2182, allocations: 119.9 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.331e-05/0.2182, allocations: 11.69 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.2182, allocations: 1.875 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.124e-05/0.2182, allocations: 6.328 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.2183, allocations: 6.203 kB / 448.4 MB, free: 18.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2183, allocations: 7.141 kB / 448.5 MB, free: 18.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001191/0.2184, allocations: 149 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2184, allocations: 0 / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.2186, allocations: 19.3 kB / 448.6 MB, free: 18.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001579/0.2202, allocations: 425 kB / 449 MB, free: 18.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.2204, allocations: 44.78 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.2204, allocations: 1.125 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.2205, allocations: 19.48 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.2207, allocations: 33.69 kB / 449.1 MB, free: 18.54 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004151/0.2212, allocations: 220.8 kB / 449.3 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.131e-05/0.2212, allocations: 90.53 kB / 449.4 MB, free: 18.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.673e-05/0.2213, allocations: 13.12 kB / 449.4 MB, free: 18.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.429e-05/0.2213, allocations: 18.69 kB / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2213, allocations: 0 / 449.5 MB, free: 18.3 MB / 366.1 MB Notification: Performance of Templates: time 0.005611/0.2269, allocations: 1.625 MB / 451.1 MB, free: 18.11 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test37.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.984350595623255]