Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.00179/0.00179, allocations: 89.14 kB / 20.68 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.002098/0.002098, allocations: 157.8 kB / 23.95 MB, free: 4.152 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.498/1.498, allocations: 177 MB / 204.1 MB, free: 9.152 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.232/0.232, allocations: 34.26 MB / 294.8 MB, free: 14.51 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 442.7 MB, free: 5.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.732e-05/3.902e-05, allocations: 2.281 kB / 442.7 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003521/0.00356, allocations: 1.893 MB / 444.6 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.005784, allocations: 1.071 MB / 445.7 MB, free: 2.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.00588, allocations: 4 kB / 445.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005118/0.006392, allocations: 259.1 kB / 446 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005364/0.006928, allocations: 243 kB / 446.2 MB, free: 1.715 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002988/0.007227, allocations: 115.6 kB / 446.3 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003768/0.007604, allocations: 283.2 kB / 446.6 MB, free: 1.324 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.007724, allocations: 17.97 kB / 446.6 MB, free: 1.305 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.007949, allocations: 155.6 kB / 446.8 MB, free: 1.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.008206, allocations: 199.5 kB / 447 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.218e-05/0.008238, allocations: 8 kB / 447 MB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.008372, allocations: 59.92 kB / 447 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.008473, allocations: 75.69 kB / 447.1 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.008556, allocations: 51.78 kB / 447.2 MB, free: 0.7656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003411/0.008897, allocations: 247 kB / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.008899, allocations: 0 / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.0089, allocations: 0 / 447.4 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.008905, allocations: 0 / 447.4 MB, free: 0.5234 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.1987/0.2076, allocations: 0.5115 MB / 447.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.2076, allocations: 8.938 kB / 447.9 MB, free: 19.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.2078, allocations: 35.14 kB / 447.9 MB, free: 19.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004668/0.2082, allocations: 230 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.2082, allocations: 9.031 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.2083, allocations: 7.797 kB / 448.2 MB, free: 19.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.2086, allocations: 114.8 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.2086, allocations: 0.9375 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.2086, allocations: 3.312 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2086, allocations: 7.688 kB / 448.3 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001483/0.2088, allocations: 53.27 kB / 448.4 MB, free: 19.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.2093, allocations: 417.7 kB / 448.8 MB, free: 18.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000409/0.2097, allocations: 122.2 kB / 448.9 MB, free: 18.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.2098, allocations: 41.8 kB / 448.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.2099, allocations: 5.062 kB / 448.9 MB, free: 18.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.2101, allocations: 123 kB / 449.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.923e-06/0.2101, allocations: 3.062 kB / 449.1 MB, free: 18.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001429/0.2115, allocations: 0.5281 MB / 449.6 MB, free: 18.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/0.2116, allocations: 84.28 kB / 449.7 MB, free: 18.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005748/0.2121, allocations: 0.4955 MB / 450.2 MB, free: 18.31 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.2122, allocations: 33.14 kB / 450.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.2123, allocations: 180.9 kB / 450.4 MB, free: 18.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.335e-05/0.2123, allocations: 67.56 kB / 450.4 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.904e-05/0.2124, allocations: 50.19 kB / 450.5 MB, free: 18.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.2125, allocations: 349.8 kB / 450.8 MB, free: 17.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.2126, allocations: 58.48 kB / 450.9 MB, free: 17.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.2128, allocations: 91.88 kB / 451 MB, free: 17.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.213, allocations: 167 kB / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.213, allocations: 0 / 451.1 MB, free: 17.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004169/0.2134, allocations: 244.9 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2135, allocations: 6.172 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.2135, allocations: 0 / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.2135, allocations: 3.594 kB / 451.4 MB, free: 17.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.2136, allocations: 48.08 kB / 451.4 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2136, allocations: 2.047 kB / 451.4 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.523e-05/0.2137, allocations: 5.547 kB / 451.4 MB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.965e-05/0.2137, allocations: 16.33 kB / 451.5 MB, free: 17.43 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.0001374/0.2139, allocations: 171.1 kB / 451.6 MB, free: 17.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.2139, allocations: 38.33 kB / 451.7 MB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005234/0.2145, allocations: 287.2 kB / 451.9 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.2145, allocations: 3.641 kB / 452 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.2145, allocations: 1.375 kB / 452 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.2145, allocations: 0.7031 kB / 452 MB, free: 17.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008625/0.2153, allocations: 0.6944 MB / 452.6 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2153, allocations: 1.641 kB / 452.6 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.435e-05/0.2154, allocations: 34.38 kB / 452.7 MB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2154, allocations: 5.281 kB / 452.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.2155, allocations: 7.438 kB / 452.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.2155, allocations: 7.531 kB / 452.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.2155, allocations: 1.875 kB / 452.7 MB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00045/0.2159, allocations: 435.9 kB / 453.1 MB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.757e-05/0.2159, allocations: 39.89 kB / 453.2 MB, free: 16.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.216, allocations: 8.828 kB / 453.2 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.2161, allocations: 6.375 kB / 453.2 MB, free: 16.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.473e-05/0.2162, allocations: 24.62 kB / 453.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.2162, allocations: 13.81 kB / 453.2 MB, free: 16.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003268/0.2166, allocations: 382.2 kB / 453.6 MB, free: 16.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2166, allocations: 0 / 453.6 MB, free: 16.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003599/0.2169, allocations: 52.3 kB / 453.6 MB, free: 16.15 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.002158/0.2191, allocations: 0.549 MB / 454.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004678/0.2195, allocations: 158.8 kB / 454.3 MB, free: 15.85 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.2195, allocations: 4.969 kB / 454.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.2197, allocations: 79.55 kB / 454.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/0.2204, allocations: 61.27 kB / 454.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.2215, allocations: 0.609 MB / 455.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.2218, allocations: 181.9 kB / 455.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001237/0.2219, allocations: 42.61 kB / 455.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.264e-05/0.222, allocations: 33.64 kB / 455.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.222, allocations: 4 kB / 455.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of Templates: time 0.009471/0.2314, allocations: 3.332 MB / 458.7 MB, free: 14.88 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.064936198294163]