Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.00245/0.00245, allocations: 95.61 kB / 20.96 MB, free: 3.457 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.002861/0.002861, allocations: 161.3 kB / 24.27 MB, free: 156 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.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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.3779/0.3779, allocations: 32.81 MB / 293.9 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.234e-06/2.234e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.526e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003625/0.003661, allocations: 1.69 MB / 377 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001235/0.004896, allocations: 0.5374 MB / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.609e-05/0.004952, allocations: 0 / 377.5 MB, free: 2.723 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002964/0.005248, allocations: 47.8 kB / 377.6 MB, free: 2.676 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003411/0.00559, allocations: 95.53 kB / 377.7 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003753/0.005965, allocations: 139.5 kB / 377.8 MB, free: 2.445 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000197/0.006162, allocations: 83.7 kB / 377.9 MB, free: 2.363 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001203/0.006282, allocations: 20.2 kB / 377.9 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.006385, allocations: 39.91 kB / 377.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.006501, allocations: 39.88 kB / 378 MB, free: 2.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.089e-05/0.006522, allocations: 4 kB / 378 MB, free: 2.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.006643, allocations: 51.92 kB / 378 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.233e-05/0.006726, allocations: 23.91 kB / 378.1 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.006759, allocations: 19.94 kB / 378.1 MB, free: 2.164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002522/0.007012, allocations: 111.6 kB / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.007017, allocations: 0 / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.007018, allocations: 0 / 378.2 MB, free: 2.055 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.007024, allocations: 0 / 378.2 MB, free: 2.055 MB / 346.7 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.000657/0.007681, allocations: 431.6 kB / 378.6 MB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.007724, allocations: 15.97 kB / 378.6 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.007789, allocations: 16.84 kB / 378.6 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.008033, allocations: 141 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.008046, allocations: 4.375 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.008072, allocations: 12.27 kB / 378.8 MB, free: 1.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.008241, allocations: 65.98 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.008254, allocations: 0 / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.008268, allocations: 4 kB / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.008272, allocations: 0 / 378.9 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000124/0.008396, allocations: 31.97 kB / 378.9 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.008907, allocations: 303.7 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.00917, allocations: 63.02 kB / 379.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.009241, allocations: 23.67 kB / 379.3 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.009266, allocations: 8.125 kB / 379.3 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.009304, allocations: 41.42 kB / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 9.31e-07/0.009305, allocations: 0 / 379.3 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.00113/0.01043, allocations: 293.6 kB / 379.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/0.01048, allocations: 55.41 kB / 379.7 MB, free: 440 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.01071, allocations: 236.7 kB / 379.9 MB, free: 188 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.01073, allocations: 25.7 kB / 379.9 MB, free: 156 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.01088, allocations: 158.9 kB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.279e-05/0.01093, allocations: 43.67 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.011, allocations: 39.31 kB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003008/0.0113, allocations: 0.4962 MB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.01141, allocations: 35.97 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.01151, allocations: 35.92 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.01173, allocations: 91.66 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01173, allocations: 0 / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000371/0.0121, allocations: 125.9 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.01212, allocations: 8 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01212, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01214, allocations: 0 / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.01225, allocations: 27.92 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.01225, allocations: 4 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.299e-05/0.01231, allocations: 19.69 kB / 381 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.01232, allocations: 0 / 381 MB, free: 15.04 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 (11): * Single equations (assignments): 11 * 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.0001336/0.01245, allocations: 164.6 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.01249, allocations: 11.95 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.01287, allocations: 146.5 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.01287, allocations: 3.984 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01288, allocations: 0 / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01288, allocations: 7.875 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.01358, allocations: 464.6 kB / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01358, allocations: 0 / 381.8 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01369, allocations: 31.92 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.0137, allocations: 3.938 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.01371, allocations: 4 kB / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01371, allocations: 0 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01372, allocations: 192 / 381.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003972/0.01411, allocations: 299.2 kB / 382.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.01414, allocations: 15.89 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.01416, allocations: 7.938 kB / 382.1 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.01424, allocations: 8 kB / 382.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.01429, allocations: 7.984 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.0143, allocations: 4 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001499/0.01445, allocations: 169.7 kB / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01445, allocations: 0 / 382.3 MB, free: 13.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002697/0.01472, allocations: 31.88 kB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.003376/0.0181, allocations: 496.3 kB / 382.8 MB, free: 13.32 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003223/0.01842, allocations: 99.58 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.01842, allocations: 4 kB / 382.9 MB, free: 13.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.01855, allocations: 59.59 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003775/0.01893, allocations: 26.8 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006478/0.01958, allocations: 272 kB / 383.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.01969, allocations: 96.75 kB / 383.4 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.676e-05/0.01976, allocations: 20.59 kB / 383.4 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.802e-05/0.0198, allocations: 16.5 kB / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.0198, allocations: 0 / 383.4 MB, free: 12.68 MB / 362.7 MB Notification: Performance of Templates: time 0.005412/0.02522, allocations: 1.582 MB / 385 MB, free: 11.11 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.054379930021241]