Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.001736/0.001736, allocations: 84.88 kB / 20.68 MB, free: 1.039 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.002036/0.002036, allocations: 157.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.484/1.484, allocations: 177 MB / 204.1 MB, free: 9.168 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.217/0.217, allocations: 34.26 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 442.8 MB, free: 5.199 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.045e-05/3.246e-05, allocations: 10.22 kB / 442.8 MB, free: 5.188 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004289/0.004322, allocations: 1.866 MB / 444.6 MB, free: 3.309 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.006728, allocations: 1.083 MB / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.006917, allocations: 0 / 445.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000504/0.007421, allocations: 159.4 kB / 445.9 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007049/0.008126, allocations: 191.1 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004393/0.008565, allocations: 111.6 kB / 446.2 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004571/0.009022, allocations: 251.2 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.009166, allocations: 21.95 kB / 446.4 MB, free: 1.496 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.009462, allocations: 143.5 kB / 446.6 MB, free: 1.355 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002508/0.009713, allocations: 123.7 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.009753, allocations: 8 kB / 446.7 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001795/0.009933, allocations: 63.92 kB / 446.8 MB, free: 1.164 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.01005, allocations: 63.7 kB / 446.8 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.01015, allocations: 47.78 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.0106, allocations: 223.1 kB / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01061, allocations: 0 / 447.1 MB, free: 0.8359 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.01061, allocations: 8 kB / 447.1 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.707e-05/0.01063, allocations: 0 / 447.1 MB, free: 0.8281 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001118/0.01174, allocations: 480.5 kB / 447.6 MB, free: 336 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.01179, allocations: 8.031 kB / 447.6 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.01189, allocations: 28.75 kB / 447.6 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000458/0.01235, allocations: 213.8 kB / 447.8 MB, free: 60 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.01238, allocations: 12.36 kB / 447.8 MB, free: 48 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.829e-05/0.01241, allocations: 8.375 kB / 447.8 MB, free: 40 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.194/0.2064, allocations: 105.2 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.98e-05/0.2065, allocations: 3.656 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.2065, allocations: 10.89 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.2065, allocations: 1.062 kB / 447.9 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.2066, allocations: 49.09 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.2072, allocations: 408.2 kB / 448.4 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004007/0.2076, allocations: 119.2 kB / 448.5 MB, free: 19.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.2077, allocations: 47.33 kB / 448.6 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2077, allocations: 2.094 kB / 448.6 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.2079, allocations: 124.3 kB / 448.7 MB, free: 18.97 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 2.485e-06/0.2079, allocations: 1.188 kB / 448.7 MB, free: 18.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.2092, allocations: 0.5037 MB / 449.2 MB, free: 18.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.2093, allocations: 80.19 kB / 449.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003487/0.2096, allocations: 385.2 kB / 449.6 MB, free: 18.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.784e-05/0.2096, allocations: 32.69 kB / 449.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.2097, allocations: 151.8 kB / 449.8 MB, free: 18.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.855e-05/0.2098, allocations: 72.39 kB / 449.9 MB, free: 18.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.2098, allocations: 41.19 kB / 449.9 MB, free: 18.32 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.2099, allocations: 342.2 kB / 450.3 MB, free: 17.99 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/0.21, allocations: 57.83 kB / 450.3 MB, free: 17.97 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/0.2101, allocations: 92 kB / 450.4 MB, free: 17.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002713/0.2104, allocations: 169.2 kB / 450.6 MB, free: 17.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2104, allocations: 0 / 450.6 MB, free: 17.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003728/0.2108, allocations: 238.3 kB / 450.8 MB, free: 17.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.2108, allocations: 12.25 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2108, allocations: 2.281 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.2108, allocations: 1.969 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000149/0.211, allocations: 44.2 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.211, allocations: 5.469 kB / 450.9 MB, free: 17.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.418e-05/0.2111, allocations: 16.14 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.2111, allocations: 13.69 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001139/0.2112, allocations: 152.5 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.2112, allocations: 29.59 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005057/0.2117, allocations: 280.9 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.2118, allocations: 3.188 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2118, allocations: 1.375 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.2118, allocations: 5.281 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007662/0.2125, allocations: 0.6677 MB / 452 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2125, allocations: 1.5 kB / 452 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.2126, allocations: 33.94 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.2126, allocations: 3.094 kB / 452.1 MB, free: 16.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.2127, allocations: 9.594 kB / 452.1 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.2127, allocations: 3.188 kB / 452.1 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/0.2127, allocations: 6.781 kB / 452.1 MB, free: 16.97 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004409/0.2131, allocations: 437.2 kB / 452.5 MB, free: 16.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.143e-05/0.2131, allocations: 25.91 kB / 452.5 MB, free: 16.65 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/0.2132, allocations: 9.062 kB / 452.5 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.2133, allocations: 10.47 kB / 452.6 MB, free: 16.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.776e-05/0.2134, allocations: 26.39 kB / 452.6 MB, free: 16.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.693e-05/0.2134, allocations: 10.8 kB / 452.6 MB, free: 16.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00025/0.2137, allocations: 285.8 kB / 452.9 MB, free: 16.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2137, allocations: 3.75 kB / 452.9 MB, free: 16.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003568/0.214, allocations: 55.84 kB / 452.9 MB, free: 16.49 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002003/0.216, allocations: 0.534 MB / 453.5 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003502/0.2164, allocations: 156.6 kB / 453.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.2164, allocations: 4.125 kB / 453.6 MB, free: 16.21 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.2165, allocations: 83.16 kB / 453.7 MB, free: 16.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005613/0.2171, allocations: 75.19 kB / 453.8 MB, free: 16.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000718/0.2178, allocations: 0.5101 MB / 454.3 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.218, allocations: 158.4 kB / 454.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.2181, allocations: 38.47 kB / 454.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.782e-05/0.2182, allocations: 37.88 kB / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2182, allocations: 0 / 454.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of Templates: time 0.007311/0.2255, allocations: 3.294 MB / 457.8 MB, free: 15.29 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.966015424579382]