Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.001341/0.001341, allocations: 85.97 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.001411/0.001411, allocations: 159.1 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.5/1.5, 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.2739/0.2739, 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.Test75,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.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,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.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 7.694e-06/7.694e-06, allocations: 4 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.482e-05/4.251e-05, allocations: 6.281 kB / 442.8 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003992/0.004034, allocations: 1.882 MB / 444.6 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002352/0.006386, allocations: 1.079 MB / 445.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.006515, allocations: 4 kB / 445.7 MB, free: 2.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006031/0.007119, allocations: 219.2 kB / 445.9 MB, free: 2.008 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005804/0.007699, allocations: 227.1 kB / 446.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.008036, allocations: 115.6 kB / 446.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004295/0.008466, allocations: 267.2 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.008629, allocations: 13.97 kB / 446.5 MB, free: 1.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002521/0.008881, allocations: 151.5 kB / 446.7 MB, free: 1.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.009134, allocations: 151.7 kB / 446.8 MB, free: 1.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.668e-05/0.009171, allocations: 8 kB / 446.8 MB, free: 1.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.009332, allocations: 71.91 kB / 446.9 MB, free: 1.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.009466, allocations: 71.69 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.699e-05/0.009553, allocations: 43.8 kB / 447 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004128/0.009965, allocations: 235.2 kB / 447.3 MB, free: 0.6758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.009972, allocations: 3.938 kB / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.009973, allocations: 0 / 447.3 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.009981, allocations: 0 / 447.3 MB, free: 0.6719 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.0009741/0.01095, allocations: 0.4964 MB / 447.8 MB, free: 148 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.01101, allocations: 8.031 kB / 447.8 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.264e-05/0.01109, allocations: 28.75 kB / 447.8 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2047/0.2158, allocations: 223.8 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.2158, allocations: 4.281 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.2159, allocations: 10.72 kB / 448 MB, free: 19.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.2161, allocations: 110.7 kB / 448.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2162, allocations: 6.562 kB / 448.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.2162, allocations: 1.5 kB / 448.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2162, allocations: 2.688 kB / 448.1 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.2163, allocations: 54.72 kB / 448.2 MB, free: 19.33 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/0.2168, allocations: 412.8 kB / 448.6 MB, free: 19.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.2172, allocations: 121.7 kB / 448.7 MB, free: 18.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.912e-05/0.2173, allocations: 44.16 kB / 448.8 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.472e-05/0.2174, allocations: 9.094 kB / 448.8 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002215/0.2176, allocations: 121.2 kB / 448.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.834e-06/0.2176, allocations: 1.125 kB / 448.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001365/0.2189, allocations: 0.5217 MB / 449.4 MB, free: 18.71 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.219, allocations: 80.58 kB / 449.5 MB, free: 18.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000548/0.2195, allocations: 456.5 kB / 449.9 MB, free: 18.42 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/0.2196, allocations: 34.33 kB / 450 MB, free: 18.39 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2197, allocations: 160.9 kB / 450.1 MB, free: 18.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.2197, allocations: 80.62 kB / 450.2 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.723e-05/0.2198, allocations: 42.58 kB / 450.3 MB, free: 18.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.2199, allocations: 343.9 kB / 450.6 MB, free: 17.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.2201, allocations: 62.38 kB / 450.6 MB, free: 17.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/0.2202, allocations: 90.84 kB / 450.7 MB, free: 17.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.2206, allocations: 176.9 kB / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.2206, allocations: 0 / 450.9 MB, free: 17.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004906/0.2211, allocations: 234.2 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.2211, allocations: 5.375 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.2211, allocations: 1.812 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.2211, allocations: 1.938 kB / 451.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001695/0.2213, allocations: 51.7 kB / 451.2 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2213, allocations: 2.75 kB / 451.2 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.2214, allocations: 9.062 kB / 451.2 MB, free: 17.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.2214, allocations: 7.906 kB / 451.2 MB, free: 17.55 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.000143/0.2216, allocations: 168.8 kB / 451.4 MB, free: 17.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.888e-05/0.2216, allocations: 35.77 kB / 451.4 MB, free: 17.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005963/0.2222, allocations: 284.3 kB / 451.7 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.2222, allocations: 2.531 kB / 451.7 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2222, allocations: 8.562 kB / 451.7 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.2222, allocations: 1.797 kB / 451.7 MB, free: 17.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008461/0.2231, allocations: 0.6801 MB / 452.4 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2231, allocations: 2.188 kB / 452.4 MB, free: 16.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/0.2232, allocations: 34.48 kB / 452.4 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.2232, allocations: 2.688 kB / 452.4 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.058e-05/0.2232, allocations: 13.48 kB / 452.4 MB, free: 16.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.2232, allocations: 6.594 kB / 452.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.2232, allocations: 2.344 kB / 452.4 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004488/0.2237, allocations: 436 kB / 452.9 MB, free: 16.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.2237, allocations: 30.75 kB / 452.9 MB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.691e-05/0.2237, allocations: 12.95 kB / 452.9 MB, free: 16.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001494/0.2239, allocations: 10.52 kB / 452.9 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.677e-05/0.224, allocations: 19.81 kB / 452.9 MB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.224, allocations: 14.89 kB / 453 MB, free: 16.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003251/0.2243, allocations: 339 kB / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2243, allocations: 0 / 453.3 MB, free: 16.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003702/0.2247, allocations: 48.55 kB / 453.3 MB, free: 16.3 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.002082/0.2268, allocations: 0.5531 MB / 453.9 MB, free: 16.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.2271, allocations: 154.8 kB / 454 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.2271, allocations: 1.188 kB / 454 MB, free: 16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001651/0.2273, allocations: 78.66 kB / 454.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005705/0.2279, allocations: 66.28 kB / 454.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000859/0.2287, allocations: 0.5616 MB / 454.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/0.2289, allocations: 171 kB / 454.9 MB, free: 15.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001069/0.229, allocations: 46.53 kB / 455 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.32e-05/0.2291, allocations: 29.12 kB / 455 MB, free: 15.51 MB / 366.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2291, allocations: 0 / 455 MB, free: 15.51 MB / 366.1 MB Notification: Performance of Templates: time 0.008505/0.2376, allocations: 3.326 MB / 458.3 MB, free: 15.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test75.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.0712114833295345]