Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.002097/0.002097, 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.002243/0.002243, allocations: 165.3 kB / 24.27 MB, free: 152 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.662/1.662, allocations: 177.1 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.3793/0.3793, allocations: 34.27 MB / 295.3 MB, free: 0.6953 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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,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.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.789e-05/2.961e-05, allocations: 6.312 kB / 377.3 MB, free: 2.945 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.003374/0.003404, allocations: 1.595 MB / 378.9 MB, free: 1.336 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001193/0.004597, allocations: 0.522 MB / 379.4 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.004649, allocations: 7.938 kB / 379.4 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002105/0.004859, allocations: 23.8 kB / 379.5 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.005164, allocations: 79.55 kB / 379.5 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002707/0.005435, allocations: 83.72 kB / 379.6 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.005615, allocations: 75.75 kB / 379.7 MB, free: 0.543 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005715, allocations: 4 kB / 379.7 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.414e-05/0.005799, allocations: 31.91 kB / 379.7 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.005864, allocations: 15.92 kB / 379.8 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.637e-05/0.005891, allocations: 4 kB / 379.8 MB, free: 500 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.005981, allocations: 31.98 kB / 379.8 MB, free: 468 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.006042, allocations: 15.92 kB / 379.8 MB, free: 452 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.006078, allocations: 11.94 kB / 379.8 MB, free: 440 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.006274, allocations: 83.66 kB / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.006277, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd: time 6.51e-07/0.006278, allocations: 0 / 379.9 MB, free: 356 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.006283, 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.0008712/0.007154, allocations: 415.8 kB / 380.3 MB, free: 15.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.007192, allocations: 8.031 kB / 380.3 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.00724, allocations: 8.891 kB / 380.3 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002078/0.007448, allocations: 144.4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.007457, allocations: 4.375 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.007476, allocations: 4.375 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.007606, allocations: 42.25 kB / 380.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.007618, allocations: 4.125 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.381e-05/0.007632, allocations: 8.125 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.007636, allocations: 0 / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/0.007722, allocations: 15.98 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004097/0.008132, allocations: 283.8 kB / 380.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.008382, allocations: 50.98 kB / 380.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.269e-05/0.008434, allocations: 19.69 kB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.008454, allocations: 7.938 kB / 380.9 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.008486, allocations: 37.33 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.008487, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005466/0.009034, allocations: 129.5 kB / 381.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.009085, allocations: 55.41 kB / 381.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.009298, allocations: 201.9 kB / 381.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.009324, allocations: 29.7 kB / 381.3 MB, free: 14.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.009425, allocations: 146.9 kB / 381.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.009461, allocations: 19.84 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.009519, allocations: 31.36 kB / 381.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002916/0.00981, allocations: 0.4884 MB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.25e-05/0.009873, allocations: 15.98 kB / 382 MB, free: 14.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.1e-05/0.009924, allocations: 11.98 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.01004, allocations: 43.67 kB / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.01004, allocations: 0 / 382.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001866/0.01023, allocations: 81.8 kB / 382.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.01024, allocations: 8 kB / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.01025, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.01027, allocations: 0 / 382.2 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.512e-05/0.01033, allocations: 11.98 kB / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.01034, allocations: 0 / 382.2 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.543e-05/0.01037, allocations: 7.953 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.52e-05/0.01039, allocations: 7.984 kB / 382.2 MB, free: 13.84 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.000119/0.01051, allocations: 156.6 kB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.61e-05/0.01055, allocations: 19.88 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002523/0.0108, allocations: 90.06 kB / 382.5 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.01081, allocations: 4 kB / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.01081, allocations: 0 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.01082, allocations: 320 / 382.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004739/0.01129, allocations: 345.4 kB / 382.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.01129, allocations: 3.984 kB / 382.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-05/0.01135, allocations: 11.94 kB / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.01135, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.01136, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01136, allocations: 0 / 382.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01136, allocations: 8 kB / 382.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002802/0.01164, allocations: 227.8 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.621e-05/0.01166, allocations: 7.953 kB / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.01167, allocations: 0 / 383.1 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.822e-05/0.01174, allocations: 11.98 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.01177, allocations: 0 / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.01178, allocations: 4 kB / 383.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.01191, allocations: 157.7 kB / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01191, allocations: 0 / 383.2 MB, free: 12.73 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.01214, 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.002969/0.01511, allocations: 450.7 kB / 383.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.01532, allocations: 47.67 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01532, allocations: 0 / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.461e-05/0.01539, 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.0003307/0.01572, allocations: 23.86 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.000501/0.01622, allocations: 190.6 kB / 384 MB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001097/0.01633, allocations: 79.33 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.204e-05/0.01638, allocations: 4 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.911e-05/0.01641, allocations: 16.44 kB / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01642, allocations: 0 / 384.1 MB, free: 12.02 MB / 362.7 MB Notification: Performance of Templates: time 0.004637/0.02105, allocations: 1.156 MB / 385.2 MB, free: 10.88 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test2.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.062737058964558]