Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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.001466/0.001466, allocations: 85.58 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.001548/0.001548, allocations: 158.8 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.619/1.619, allocations: 177 MB / 204.1 MB, free: 9.156 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.2148/0.2148, allocations: 34.25 MB / 294.8 MB, free: 14.52 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 442.7 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.217e-05, allocations: 2.281 kB / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003616/0.003648, allocations: 1.718 MB / 444.5 MB, free: 3.465 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.00573, allocations: 0.9736 MB / 445.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.005852, allocations: 7.938 kB / 445.4 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003786/0.006231, allocations: 35.83 kB / 445.5 MB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004571/0.006688, allocations: 95.42 kB / 445.6 MB, free: 2.348 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.006973, allocations: 79.61 kB / 445.7 MB, free: 2.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002524/0.007226, allocations: 115.6 kB / 445.8 MB, free: 2.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.007362, allocations: 4 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.007576, allocations: 55.83 kB / 445.8 MB, free: 2.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.007687, allocations: 23.91 kB / 445.8 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.007712, allocations: 4 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.007871, allocations: 39.98 kB / 445.9 MB, free: 2.031 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.05e-05/0.007961, allocations: 31.8 kB / 445.9 MB, free: 2 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.093e-05/0.008032, allocations: 23.91 kB / 445.9 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000295/0.008327, allocations: 115.6 kB / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.008331, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008332, allocations: 0 / 446.1 MB, free: 1.863 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.008339, allocations: 0 / 446.1 MB, free: 1.863 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.0006597/0.008998, allocations: 345.5 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.009039, allocations: 15.97 kB / 446.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.375e-05/0.009103, allocations: 12.84 kB / 446.4 MB, free: 1.469 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003554/0.009458, allocations: 151 kB / 446.6 MB, free: 1.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.009475, allocations: 4.375 kB / 446.6 MB, free: 1.293 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.009501, allocations: 4.375 kB / 446.6 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.009687, allocations: 62.16 kB / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.009702, allocations: 192 / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.009715, allocations: 384 / 446.6 MB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.009723, allocations: 7.938 kB / 446.6 MB, free: 1.215 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.677e-05/0.00981, allocations: 15.98 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004193/0.01023, allocations: 232.6 kB / 446.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.01047, allocations: 62.62 kB / 447 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.738e-05/0.01053, allocations: 24.84 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.01056, allocations: 7.984 kB / 447 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.01074, allocations: 67.33 kB / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.01074, allocations: 0 / 447.1 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006623/0.0114, allocations: 185.3 kB / 447.2 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.029e-05/0.01146, allocations: 59.41 kB / 447.3 MB, free: 0.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002392/0.0117, allocations: 198.2 kB / 447.5 MB, free: 304 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.01173, allocations: 29.7 kB / 447.5 MB, free: 268 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.01181, allocations: 100.1 kB / 447.6 MB, free: 164 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.01185, allocations: 31.78 kB / 447.6 MB, free: 132 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.0119, allocations: 29.7 kB / 447.7 MB, free: 96 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2042/0.2161, allocations: 322.8 kB / 448 MB, free: 18.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.2163, allocations: 17.19 kB / 448 MB, free: 18.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.2164, allocations: 39.7 kB / 448 MB, free: 18.9 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.2166, allocations: 62.84 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2166, allocations: 0 / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003378/0.2169, allocations: 105.2 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.917e-05/0.2169, allocations: 8.672 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.217, allocations: 4.344 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.217, allocations: 0 / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.2171, allocations: 16.28 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.2171, allocations: 0 / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.2172, allocations: 7.406 kB / 448.2 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.264e-05/0.2172, allocations: 12.23 kB / 448.3 MB, free: 18.86 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 0.0001722/0.2174, allocations: 129.1 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.908e-05/0.2174, allocations: 12.36 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00038/0.2178, allocations: 124.2 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2178, allocations: 1.031 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2178, allocations: 4.453 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.2178, allocations: 0.5625 kB / 448.5 MB, free: 18.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.2185, allocations: 348.2 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2185, allocations: 1 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.2185, allocations: 10.17 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2185, allocations: 1.781 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.2185, allocations: 10.42 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.2186, allocations: 1.062 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.2186, allocations: 1.844 kB / 448.9 MB, free: 18.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.2189, allocations: 213.3 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.601e-05/0.2189, allocations: 11.61 kB / 449.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.2189, allocations: 10.7 kB / 449.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.219, allocations: 5.812 kB / 449.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.359e-05/0.2191, allocations: 7.266 kB / 449.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.2191, allocations: 3.203 kB / 449.1 MB, free: 18.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001692/0.2193, allocations: 151.7 kB / 449.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2193, allocations: 0 / 449.3 MB, free: 18.24 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.2196, allocations: 26.72 kB / 449.3 MB, free: 18.24 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.001923/0.2215, allocations: 490.8 kB / 449.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.2217, allocations: 53.09 kB / 449.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2217, allocations: 0 / 449.8 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.307e-05/0.2218, allocations: 36.33 kB / 449.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.2222, allocations: 33.17 kB / 449.9 MB, free: 18.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005046/0.2227, allocations: 234.2 kB / 450.1 MB, free: 17.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.327e-05/0.2228, allocations: 98.16 kB / 450.2 MB, free: 17.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.485e-05/0.2228, allocations: 20.3 kB / 450.2 MB, free: 17.79 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.165e-05/0.2229, allocations: 19.67 kB / 450.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2229, allocations: 0 / 450.3 MB, free: 17.78 MB / 366.1 MB Notification: Performance of Templates: time 0.006965/0.2298, allocations: 1.846 MB / 452.1 MB, free: 17.55 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test34.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: 5.0875287763774395]