Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002182/0.002182, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.509/1.509, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2218/0.2218, allocations: 34.28 MB / 294.9 MB, free: 14.57 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 442.8 MB, free: 5.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.049e-05/3.206e-05, allocations: 2.281 kB / 442.8 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003156/0.003188, allocations: 1.727 MB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.005163, allocations: 0.9704 MB / 445.5 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.951e-05/0.005253, allocations: 3.938 kB / 445.5 MB, free: 2.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.005603, allocations: 39.75 kB / 445.5 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003487/0.005952, allocations: 99.47 kB / 445.6 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.006165, allocations: 79.61 kB / 445.7 MB, free: 2.379 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.006382, allocations: 115.6 kB / 445.8 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.006495, allocations: 4 kB / 445.8 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.006633, allocations: 59.81 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.413e-05/0.006727, allocations: 27.92 kB / 445.9 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.006751, allocations: 4 kB / 445.9 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.006865, allocations: 47.91 kB / 445.9 MB, free: 2.125 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.952e-05/0.006934, allocations: 19.92 kB / 445.9 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.006993, allocations: 23.86 kB / 446 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002755/0.007268, allocations: 123.5 kB / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.007274, allocations: 0 / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007275, allocations: 0 / 446.1 MB, free: 1.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.007282, allocations: 0 / 446.1 MB, free: 1.961 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.0006555/0.007937, allocations: 349.6 kB / 446.4 MB, free: 1.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.007979, allocations: 12.03 kB / 446.4 MB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.4e-05/0.008033, allocations: 8.891 kB / 446.5 MB, free: 1.57 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.008312, allocations: 161.5 kB / 446.6 MB, free: 1.387 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.008328, allocations: 4.375 kB / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.096e-05/0.008349, allocations: 384 / 446.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001701/0.008519, allocations: 58.17 kB / 446.7 MB, free: 1.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.008538, allocations: 7.938 kB / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.008549, allocations: 0 / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.008554, allocations: 0 / 446.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.542e-05/0.00865, allocations: 23.98 kB / 446.7 MB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.009054, allocations: 232.6 kB / 446.9 MB, free: 1.031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.009257, allocations: 62.61 kB / 447 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.00932, allocations: 24.78 kB / 447 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.009336, allocations: 3.938 kB / 447 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.009508, allocations: 67.39 kB / 447.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.00951, allocations: 0 / 447.1 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006039/0.01011, allocations: 185.5 kB / 447.3 MB, free: 0.6641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.01016, allocations: 51.41 kB / 447.3 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.01039, allocations: 215 kB / 447.5 MB, free: 392 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.01042, allocations: 33.7 kB / 447.6 MB, free: 352 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.696e-05/0.01049, allocations: 108.1 kB / 447.7 MB, free: 240 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.01053, allocations: 19.8 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.01057, allocations: 25.72 kB / 447.7 MB, free: 188 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2188/0.2294, allocations: 323.4 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001824/0.2296, allocations: 21.33 kB / 448 MB, free: 19.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.2297, allocations: 38.59 kB / 448.1 MB, free: 19.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2298, allocations: 62.23 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2298, allocations: 1.562 kB / 448.1 MB, free: 19.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002696/0.2301, allocations: 106.8 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.321e-05/0.2301, allocations: 8.719 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.2301, allocations: 6.469 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.591e-05/0.2301, allocations: 1.938 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.2302, allocations: 18.66 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2303, allocations: 0.9688 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.316e-05/0.2303, allocations: 6.859 kB / 448.3 MB, free: 19.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.2303, allocations: 3.906 kB / 448.3 MB, free: 19.03 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.0001266/0.2305, allocations: 129.6 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.711e-05/0.2305, allocations: 12.22 kB / 448.4 MB, free: 18.92 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002867/0.2308, allocations: 121.3 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2308, allocations: 6.828 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.2308, allocations: 3.938 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2308, allocations: 0.9375 kB / 448.6 MB, free: 18.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004209/0.2312, allocations: 353.4 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2312, allocations: 1.406 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.2312, allocations: 9.969 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2312, allocations: 1.719 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.2313, allocations: 5.844 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.2313, allocations: 1.188 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2313, allocations: 4.906 kB / 448.9 MB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002108/0.2315, allocations: 220.2 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.2315, allocations: 10.86 kB / 449.2 MB, free: 18.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.2315, allocations: 6.312 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.317e-05/0.2316, allocations: 2.781 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.379e-05/0.2316, allocations: 10.17 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.2317, allocations: 6.547 kB / 449.2 MB, free: 18.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.2318, allocations: 157.8 kB / 449.3 MB, free: 18.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2318, allocations: 0 / 449.3 MB, free: 18.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00027/0.232, allocations: 32.81 kB / 449.4 MB, free: 18.42 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.001863/0.2339, allocations: 0.489 MB / 449.9 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.2341, allocations: 60.23 kB / 449.9 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2341, allocations: 0 / 449.9 MB, free: 18.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.2342, allocations: 33.81 kB / 450 MB, free: 18.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004004/0.2346, allocations: 38.55 kB / 450 MB, free: 18.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005287/0.2352, allocations: 247.6 kB / 450.2 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.235e-05/0.2352, allocations: 96.53 kB / 450.3 MB, free: 18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.37e-05/0.2353, allocations: 16.72 kB / 450.3 MB, free: 17.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.02e-05/0.2353, allocations: 17.69 kB / 450.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2353, allocations: 3.938 kB / 450.4 MB, free: 17.97 MB / 366.1 MB Notification: Performance of Templates: time 0.005909/0.2412, allocations: 1.842 MB / 452.2 MB, free: 17.73 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.0508893094956875]