Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.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.001153/0.001153, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.00116/0.00116, allocations: 161 kB / 24.56 MB, free: 16 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.014/1.014, allocations: 177.1 MB / 205 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] 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.2787/0.2787, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.442e-06/1.442e-06, allocations: 0 / 378.1 MB, free: 2.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.497e-05/2.641e-05, allocations: 6.312 kB / 378.1 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.002434/0.00246, allocations: 1.681 MB / 379.8 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.0033, allocations: 0.5415 MB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.003376, allocations: 3.938 kB / 380.3 MB, free: 400 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.003681, allocations: 95.67 kB / 380.4 MB, free: 304 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003429/0.004024, allocations: 119.5 kB / 380.5 MB, free: 184 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/0.0043, allocations: 95.62 kB / 380.6 MB, free: 88 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.004499, allocations: 103.9 kB / 380.7 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.004613, allocations: 23.92 kB / 380.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.254e-05/0.004696, allocations: 51.88 kB / 380.8 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.525e-05/0.004791, allocations: 63.86 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.595e-05/0.004807, allocations: 4 kB / 380.8 MB, free: 15.84 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.0049, allocations: 51.86 kB / 380.9 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.283e-05/0.004952, allocations: 19.92 kB / 380.9 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004987, allocations: 27.86 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.005155, allocations: 99.64 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005159, allocations: 7.938 kB / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.00516, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.005165, allocations: 0 / 381 MB, free: 15.64 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004583/0.005624, allocations: 463.8 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.005681, allocations: 12.03 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.005766, allocations: 20.83 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.006006, allocations: 152.4 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.006024, allocations: 8.375 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.251e-05/0.006056, allocations: 4.375 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002056/0.006262, allocations: 70.92 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/0.006278, allocations: 4.188 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.006294, allocations: 8.062 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.006303, allocations: 0 / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.571e-05/0.006379, allocations: 23.92 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.006781, allocations: 327.6 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.53e-05/0.006866, allocations: 62.92 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.006894, allocations: 15.67 kB / 382.2 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.006916, allocations: 4 kB / 382.2 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.006939, allocations: 37.39 kB / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.00694, allocations: 0 / 382.2 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000659/0.007599, allocations: 245.6 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.007638, allocations: 59.41 kB / 382.5 MB, free: 14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.00779, allocations: 250.7 kB / 382.8 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.007804, allocations: 29.7 kB / 382.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.007867, allocations: 158.9 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.272e-05/0.0079, allocations: 43.58 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.007939, allocations: 35.38 kB / 383 MB, free: 13.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.008079, allocations: 0.5039 MB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.009e-05/0.008109, allocations: 12 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.899e-05/0.008138, allocations: 19.98 kB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.036e-05/0.008208, allocations: 51.67 kB / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.008209, allocations: 0 / 383.6 MB, free: 12.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001286/0.008338, allocations: 109.5 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.008356, allocations: 5.562 kB / 383.7 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.008361, allocations: 4 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.008377, allocations: 112 / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.008477, allocations: 27.92 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.008484, allocations: 3.984 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.008506, allocations: 8 kB / 383.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.056e-06/0.008514, allocations: 3.938 kB / 383.8 MB, free: 12.69 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 (13): * Single equations (assignments): 13 * 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 7.192e-05/0.008586, allocations: 164.5 kB / 383.9 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.008611, allocations: 19.86 kB / 384 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001669/0.008778, allocations: 134.7 kB / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.008781, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.008785, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.008788, allocations: 0 / 384.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003639/0.009152, allocations: 436.8 kB / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.009154, allocations: 0 / 384.5 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.306e-05/0.009207, allocations: 27.92 kB / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.00921, allocations: 0 / 384.5 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-06/0.009218, allocations: 7.938 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.00922, allocations: 32 / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.009222, allocations: 4 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.0094, allocations: 263.5 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.085e-05/0.009411, allocations: 15.84 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.009427, allocations: 7.938 kB / 384.8 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.583e-05/0.009462, allocations: 11.98 kB / 384.9 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.009498, allocations: 11.97 kB / 384.9 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.009503, allocations: 4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.712e-05/0.00958, allocations: 185.1 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00958, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.009751, allocations: 27.92 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0009588/0.01071, allocations: 439.1 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001366/0.01085, allocations: 63.59 kB / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01085, allocations: 0 / 385.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.863e-05/0.01089, allocations: 43.61 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.01111, allocations: 31.16 kB / 385.6 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004718/0.01158, allocations: 272.7 kB / 385.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.324e-05/0.01163, allocations: 75.39 kB / 386 MB, free: 10.51 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.035e-05/0.01167, allocations: 20.47 kB / 386 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.797e-05/0.0117, allocations: 20.5 kB / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01171, allocations: 0 / 386 MB, free: 10.47 MB / 362.7 MB Notification: Performance of Templates: time 0.003658/0.01536, allocations: 1.677 MB / 387.7 MB, free: 8.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0756120709702373]