Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.00212/0.00212, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.002176/0.002176, allocations: 161.3 kB / 24.27 MB, free: 160 kB / 18.57 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.732/1.732, allocations: 177.2 MB / 204.6 MB, free: 5.59 MB / 186.7 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.4589/0.4589, allocations: 34.26 MB / 295.3 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.436e-06/3.436e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 5.02e-05/5.364e-05, allocations: 2.312 kB / 377.3 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.005947/0.006001, allocations: 1.599 MB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.008293, allocations: 0.522 MB / 379.4 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.008365, allocations: 4 kB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.008679, allocations: 35.7 kB / 379.5 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004881/0.009167, allocations: 71.62 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.009622, allocations: 91.64 kB / 379.6 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002607/0.009882, allocations: 71.81 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.01002, allocations: 4 kB / 379.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001359/0.01015, allocations: 35.84 kB / 379.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.01024, allocations: 11.94 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.01026, allocations: 4 kB / 379.8 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.0104, allocations: 35.97 kB / 379.8 MB, free: 464 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.922e-05/0.01048, allocations: 15.92 kB / 379.8 MB, free: 448 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.029e-05/0.01053, allocations: 11.94 kB / 379.8 MB, free: 436 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002992/0.01083, allocations: 79.72 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.01083, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.01083, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.01084, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009116/0.01175, allocations: 419.8 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.42e-05/0.01181, allocations: 8.031 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.664e-05/0.01189, allocations: 8.891 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003296/0.01222, allocations: 136.4 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.149e-05/0.01224, allocations: 8.359 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.01227, allocations: 4.375 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.01248, allocations: 46.25 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.0125, allocations: 192 / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.01252, allocations: 4.125 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.01254, allocations: 3.984 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.01269, allocations: 15.98 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006359/0.01333, allocations: 279.7 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003471/0.01368, allocations: 47.05 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.379e-05/0.01376, allocations: 27.7 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.111e-05/0.01379, allocations: 7.938 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.01384, allocations: 33.39 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.01384, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009388/0.01478, allocations: 129.4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.377e-05/0.01486, allocations: 59.34 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000347/0.01521, allocations: 208.3 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/0.01525, allocations: 25.7 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.01541, allocations: 150.8 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.01546, allocations: 19.84 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.01555, allocations: 27.38 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004426/0.016, allocations: 0.4923 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.01612, allocations: 15.98 kB / 382 MB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.491e-05/0.01621, allocations: 12 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002313/0.01645, allocations: 47.84 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01645, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003252/0.01677, allocations: 77.58 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.0168, allocations: 7.938 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.0168, allocations: 4 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01682, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001183/0.01694, allocations: 11.98 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.01696, allocations: 4 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.334e-05/0.01703, allocations: 7.953 kB / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.01704, allocations: 0 / 382.2 MB, free: 13.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0002/0.01724, allocations: 160.6 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.808e-05/0.01731, allocations: 11.89 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000408/0.01771, allocations: 86.11 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/0.01772, allocations: 8 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01773, allocations: 0 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01773, allocations: 3.938 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007886/0.01852, allocations: 341.4 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.01852, allocations: 0 / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.01863, allocations: 11.98 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.01864, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.01865, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.01865, allocations: 3.938 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.01865, allocations: 4 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.01914, allocations: 235.9 kB / 383.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.289e-05/0.01917, allocations: 7.953 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.0192, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/0.01933, allocations: 8 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.788e-05/0.01939, allocations: 3.984 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.0194, allocations: 4 kB / 383.1 MB, free: 12.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002067/0.01961, allocations: 155.2 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.01961, allocations: 0 / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004726/0.02008, allocations: 12 kB / 383.2 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.004707/0.02479, allocations: 433.1 kB / 383.7 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000355/0.02514, allocations: 55.61 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.02515, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001525/0.0253, allocations: 27.67 kB / 383.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005308/0.02583, allocations: 27.42 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007713/0.0266, allocations: 186.6 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.02676, allocations: 91.23 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.713e-05/0.02683, allocations: 4 kB / 384 MB, free: 12.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.566e-05/0.02688, allocations: 12.5 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.152e-06/0.02688, allocations: 0 / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.008102/0.03499, allocations: 1.16 MB / 385.2 MB, free: 10.87 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test1.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.364545234013349]