Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.002454/0.002454, allocations: 87.67 kB / 20.21 MB, free: 4.207 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.002825/0.002825, allocations: 169.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.432/1.432, allocations: 158.6 MB / 185.3 MB, free: 2.895 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.222/0.222, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.567e-05/3.873e-05, allocations: 2.312 kB / 347 MB, free: 9.727 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.004089/0.004128, allocations: 1.716 MB / 348.7 MB, free: 8 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.005698, allocations: 0.7766 MB / 349.5 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.92e-05/0.005778, allocations: 7.938 kB / 349.5 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00038/0.006158, allocations: 35.77 kB / 349.5 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.006433, allocations: 55.7 kB / 349.6 MB, free: 7.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.006734, allocations: 87.7 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.006928, allocations: 103.6 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.007044, allocations: 8.219 kB / 349.8 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.007172, allocations: 47.84 kB / 349.8 MB, free: 6.875 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/0.007264, allocations: 23.91 kB / 349.9 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.007293, allocations: 7.938 kB / 349.9 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.007407, allocations: 39.92 kB / 349.9 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.108e-05/0.007478, allocations: 27.91 kB / 349.9 MB, free: 6.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.007544, allocations: 15.94 kB / 350 MB, free: 6.762 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.007798, allocations: 111.6 kB / 350.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.007804, allocations: 3.984 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.007805, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.007811, allocations: 0 / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006143/0.008426, allocations: 439.6 kB / 350.5 MB, free: 6.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.008478, allocations: 12.03 kB / 350.5 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.089e-05/0.008549, allocations: 16.78 kB / 350.5 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.008775, allocations: 146 kB / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.008793, allocations: 384 / 350.7 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.008822, allocations: 8.375 kB / 350.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001561/0.008978, allocations: 50.23 kB / 350.7 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.008994, allocations: 7.938 kB / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.009007, allocations: 0 / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.009013, allocations: 0 / 350.7 MB, free: 5.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.718e-05/0.0091, allocations: 19.98 kB / 350.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004016/0.009501, allocations: 299.7 kB / 351 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000199/0.0097, allocations: 59.17 kB / 351.1 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.523e-05/0.009776, allocations: 27.61 kB / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.009799, allocations: 0 / 351.1 MB, free: 5.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.009964, allocations: 76.98 kB / 351.2 MB, free: 5.379 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.009966, allocations: 4 kB / 351.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006911/0.01066, allocations: 169.4 kB / 351.4 MB, free: 5.203 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.01069, allocations: 59.41 kB / 351.4 MB, free: 5.133 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.01087, allocations: 225.8 kB / 351.7 MB, free: 4.895 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.01089, allocations: 29.7 kB / 351.7 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.579e-05/0.01095, allocations: 158.8 kB / 351.8 MB, free: 4.699 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.01099, allocations: 23.8 kB / 351.9 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.584e-05/0.01105, allocations: 35.36 kB / 351.9 MB, free: 4.633 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.01117, allocations: 0.5001 MB / 352.4 MB, free: 4.121 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.92e-05/0.01123, allocations: 12 kB / 352.4 MB, free: 4.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.01132, allocations: 43.36 kB / 352.5 MB, free: 4.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.01146, allocations: 75.23 kB / 352.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.01146, allocations: 0 / 352.5 MB, free: 3.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002232/0.01169, allocations: 101.6 kB / 352.6 MB, free: 3.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.0117, allocations: 4 kB / 352.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.01171, allocations: 3.984 kB / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.01173, allocations: 384 / 352.6 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001223/0.01185, allocations: 19.94 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.01186, allocations: 3.938 kB / 352.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.258e-05/0.01192, allocations: 12 kB / 352.7 MB, free: 3.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.01193, allocations: 4.031 kB / 352.7 MB, free: 3.824 MB / 282.7 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 (10): * Single equations (assignments): 10 * 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.0001038/0.01204, allocations: 172.5 kB / 352.8 MB, free: 3.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.201e-05/0.01207, allocations: 15.91 kB / 352.9 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.01238, allocations: 122.5 kB / 353 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01238, allocations: 0 / 353 MB, free: 3.504 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01239, allocations: 4 kB / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.01239, allocations: 0 / 353 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004723/0.01286, allocations: 405 kB / 353.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01287, allocations: 0 / 353.4 MB, free: 3.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.208e-05/0.01292, allocations: 8.031 kB / 353.4 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.01292, allocations: 7.984 kB / 353.4 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01294, allocations: 4 kB / 353.4 MB, free: 3.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01294, allocations: 3.938 kB / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.01294, allocations: 0 / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.01322, allocations: 275.4 kB / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.01324, allocations: 7.953 kB / 353.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.98e-05/0.01327, allocations: 4 kB / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01338, allocations: 7.984 kB / 353.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.01343, allocations: 0 / 353.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.01345, allocations: 7.984 kB / 353.7 MB, free: 2.715 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.01356, allocations: 175.1 kB / 353.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01356, allocations: 0 / 353.9 MB, free: 2.543 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004191/0.01398, allocations: 23.94 kB / 353.9 MB, free: 2.52 MB / 282.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: 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 (9): * Single equations (assignments): 7 * 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.004171/0.01815, allocations: 0.4952 MB / 354.4 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002581/0.01841, allocations: 67.59 kB / 354.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01842, allocations: 0 / 354.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.867e-05/0.01851, allocations: 39.61 kB / 354.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.01903, allocations: 35.88 kB / 354.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.01967, allocations: 209.5 kB / 354.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.358e-05/0.01976, allocations: 89.56 kB / 354.8 MB, free: 1.637 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.589e-05/0.01982, allocations: 24.78 kB / 354.8 MB, free: 1.609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.088e-05/0.01988, allocations: 16.5 kB / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of SimCode: time 8.62e-07/0.01988, allocations: 0 / 354.9 MB, free: 1.594 MB / 282.7 MB Notification: Performance of Templates: time 0.006274/0.02615, allocations: 1.823 MB / 356.7 MB, free: 15.79 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test18.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.176839482039213]