Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.001953/0.001953, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001497/0.001497, allocations: 165 kB / 23.95 MB, free: 4.168 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.384/1.384, allocations: 177.2 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2044/0.2044, allocations: 32.81 MB / 293.5 MB, free: 32 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.245e-05/3.431e-05, allocations: 5.234 kB / 440.2 MB, free: 8.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003147/0.003181, allocations: 1.727 MB / 441.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.005063, allocations: 0.9742 MB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.005147, allocations: 0 / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.005537, allocations: 111.6 kB / 443 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004144/0.005951, allocations: 127.4 kB / 443.1 MB, free: 5.102 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002798/0.006231, allocations: 83.59 kB / 443.2 MB, free: 5.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.006516, allocations: 131.6 kB / 443.3 MB, free: 4.891 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.006641, allocations: 12 kB / 443.3 MB, free: 4.879 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001755/0.006816, allocations: 71.8 kB / 443.4 MB, free: 4.809 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.006979, allocations: 75.78 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.007006, allocations: 8 kB / 443.5 MB, free: 4.727 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.00716, allocations: 55.92 kB / 443.6 MB, free: 4.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.795e-05/0.007238, allocations: 31.91 kB / 443.6 MB, free: 4.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.007306, allocations: 31.86 kB / 443.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003109/0.007617, allocations: 151.5 kB / 443.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.00762, allocations: 0 / 443.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.71e-07/0.007621, allocations: 0 / 443.8 MB, free: 4.461 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.007627, allocations: 0 / 443.8 MB, free: 4.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007/0.008327, allocations: 385.2 kB / 444.1 MB, free: 4.055 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.008369, allocations: 8.031 kB / 444.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.278e-05/0.008432, allocations: 20.84 kB / 444.2 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.008733, allocations: 170.4 kB / 444.3 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.008752, allocations: 4.359 kB / 444.3 MB, free: 3.828 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.008781, allocations: 4.375 kB / 444.3 MB, free: 3.824 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.008993, allocations: 78.09 kB / 444.4 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.009009, allocations: 3.938 kB / 444.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.009023, allocations: 0 / 444.4 MB, free: 3.738 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.009032, allocations: 7.938 kB / 444.4 MB, free: 3.73 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.009154, allocations: 31.97 kB / 444.5 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.009644, allocations: 264.5 kB / 444.7 MB, free: 3.41 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003336/0.009977, allocations: 90.5 kB / 444.8 MB, free: 3.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.01005, allocations: 24.84 kB / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.01007, allocations: 160 / 444.8 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.01025, allocations: 83.36 kB / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.703e-06/0.01025, allocations: 0 / 444.9 MB, free: 3.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000962/0.01122, allocations: 285.2 kB / 445.2 MB, free: 2.906 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.01126, allocations: 51.41 kB / 445.2 MB, free: 2.844 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003015/0.01156, allocations: 271.8 kB / 445.5 MB, free: 2.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.01159, allocations: 33.64 kB / 445.5 MB, free: 2.531 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.98e-05/0.01168, allocations: 116.1 kB / 445.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.154e-05/0.01173, allocations: 39.67 kB / 445.7 MB, free: 2.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.712e-05/0.01179, allocations: 29.7 kB / 445.7 MB, free: 2.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.01195, allocations: 334.8 kB / 446.1 MB, free: 2.004 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-05/0.01204, allocations: 31.98 kB / 446.1 MB, free: 1.973 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01215, allocations: 53.69 kB / 446.1 MB, free: 1.914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.01235, allocations: 101.7 kB / 446.2 MB, free: 1.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.01235, allocations: 4 kB / 446.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003094/0.01266, allocations: 145.5 kB / 446.4 MB, free: 1.656 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.01267, allocations: 4 kB / 446.4 MB, free: 1.652 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.01268, allocations: 3.984 kB / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.0127, allocations: 0 / 446.4 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.0128, allocations: 20 kB / 446.4 MB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.01281, allocations: 3.938 kB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.511e-05/0.01287, allocations: 7.984 kB / 446.4 MB, free: 1.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.01288, allocations: 4 kB / 446.4 MB, free: 1.613 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 (14): * Single equations (assignments): 14 * 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.000203/0.01308, allocations: 146.5 kB / 446.6 MB, free: 1.461 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.01312, allocations: 23.8 kB / 446.6 MB, free: 1.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.0135, allocations: 174.9 kB / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.01351, allocations: 0 / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.01351, allocations: 0 / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.01352, allocations: 0 / 446.8 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.01416, allocations: 439.6 kB / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.01416, allocations: 0 / 447.2 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/0.01423, allocations: 16 kB / 447.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.01423, allocations: 4.062 kB / 447.2 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.01425, allocations: 7.984 kB / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.01425, allocations: 0 / 447.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.01426, allocations: 7.875 kB / 447.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003762/0.01463, allocations: 269.1 kB / 447.5 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.01467, allocations: 19.78 kB / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.0147, allocations: 8 kB / 447.5 MB, free: 452 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.406e-05/0.01478, allocations: 3.984 kB / 447.5 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.01484, allocations: 19.92 kB / 447.5 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.01486, allocations: 4 kB / 447.5 MB, free: 424 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.01509, allocations: 205.5 kB / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01509, allocations: 0 / 447.7 MB, free: 220 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003265/0.01542, allocations: 31.94 kB / 447.8 MB, free: 188 kB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.2045/0.2199, allocations: 0.5415 MB / 448.3 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003705/0.2203, allocations: 91.33 kB / 448.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.2203, allocations: 0.75 kB / 448.4 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.2204, allocations: 48.75 kB / 448.5 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.2208, allocations: 37.22 kB / 448.5 MB, free: 21.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.2214, allocations: 331.9 kB / 448.8 MB, free: 21.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.2215, allocations: 115 kB / 448.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.003e-05/0.2216, allocations: 23.05 kB / 448.9 MB, free: 21.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.2217, allocations: 22.48 kB / 449 MB, free: 21.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2217, allocations: 0 / 449 MB, free: 21.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005918/0.2276, allocations: 2.24 MB / 451.2 MB, free: 21.03 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.679005112498999]