Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.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.001178/0.001178, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.001331/0.001331, allocations: 177 kB / 24.06 MB, free: 452 kB / 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.034/1.034, allocations: 158.6 MB / 185.9 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.1334/0.1334, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.041e-05, allocations: 2.312 kB / 348.2 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002042/0.002062, allocations: 1.81 MB / 350 MB, free: 7.285 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.003326, allocations: 1.583 MB / 351.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.003407, allocations: 4 kB / 351.6 MB, free: 5.688 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.003694, allocations: 55.56 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.003944, allocations: 103.5 kB / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002178/0.004162, allocations: 139.6 kB / 351.9 MB, free: 5.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.004331, allocations: 187.3 kB / 352.1 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.004371, allocations: 5.812 kB / 352.1 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.004478, allocations: 103.7 kB / 352.2 MB, free: 5.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.004595, allocations: 51.81 kB / 352.2 MB, free: 5.055 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.004616, allocations: 8 kB / 352.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.00472, allocations: 59.91 kB / 352.3 MB, free: 4.988 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.211e-05/0.004772, allocations: 39.84 kB / 352.3 MB, free: 4.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.711e-05/0.004809, allocations: 39.84 kB / 352.4 MB, free: 4.91 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001746/0.004983, allocations: 147.4 kB / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.004986, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004986, allocations: 0 / 352.5 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.00499, allocations: 4 kB / 352.5 MB, free: 4.762 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003854/0.005375, allocations: 0.4916 MB / 353 MB, free: 4.234 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.005418, allocations: 8.031 kB / 353 MB, free: 4.227 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.997e-05/0.005458, allocations: 20.84 kB / 353 MB, free: 4.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000143/0.005601, allocations: 176.3 kB / 353.2 MB, free: 4.008 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.005616, allocations: 4.359 kB / 353.2 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.005626, allocations: 8.375 kB / 353.2 MB, free: 3.996 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.005763, allocations: 161 kB / 353.4 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.005772, allocations: 7.922 kB / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.00578, allocations: 0 / 353.4 MB, free: 3.793 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.005786, allocations: 4 kB / 353.4 MB, free: 3.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.882e-05/0.005815, allocations: 11.98 kB / 353.4 MB, free: 3.777 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001096/0.005924, allocations: 140.9 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.00603, allocations: 90.14 kB / 353.6 MB, free: 3.496 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/0.006057, allocations: 39.34 kB / 353.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.006073, allocations: 0 / 353.7 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.714e-05/0.00617, allocations: 112.3 kB / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.006171, allocations: 0 / 353.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.000216/0.006387, allocations: 141.4 kB / 353.9 MB, free: 3.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.006414, allocations: 132.5 kB / 354 MB, free: 3.012 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.006524, allocations: 254.7 kB / 354.3 MB, free: 2.742 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.006535, allocations: 25.7 kB / 354.3 MB, free: 2.711 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.189e-05/0.006567, allocations: 166.8 kB / 354.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.006598, allocations: 27.77 kB / 354.5 MB, free: 2.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.00663, allocations: 39.36 kB / 354.5 MB, free: 2.469 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.654e-05/0.006676, allocations: 0.5001 MB / 355 MB, free: 1.957 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.021e-05/0.006696, allocations: 11.98 kB / 355.1 MB, free: 1.945 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.006737, allocations: 121.5 kB / 355.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.004e-05/0.006787, allocations: 70.67 kB / 355.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006788, allocations: 0 / 355.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001001/0.006888, allocations: 114 kB / 355.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.006901, allocations: 8 kB / 355.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.006906, allocations: 0 / 355.4 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.006919, allocations: 3.938 kB / 355.4 MB, free: 1.574 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.00699, allocations: 31.98 kB / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.287e-06/0.006993, allocations: 0 / 355.4 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.007038, allocations: 11.98 kB / 355.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.007043, allocations: 7.938 kB / 355.4 MB, free: 1.523 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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 5.986e-05/0.007103, allocations: 164.6 kB / 355.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.996e-05/0.007122, allocations: 19.97 kB / 355.6 MB, free: 1.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.007273, allocations: 142.7 kB / 355.7 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007276, allocations: 3.938 kB / 355.7 MB, free: 1.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.007278, allocations: 4 kB / 355.7 MB, free: 1.176 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.007282, allocations: 3.984 kB / 355.8 MB, free: 1.172 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.689e-05/0.007359, allocations: 137.1 kB / 355.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.007361, allocations: 0 / 355.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.841e-05/0.007389, allocations: 8 kB / 355.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.007392, allocations: 4 kB / 355.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.261e-06/0.007398, allocations: 0 / 355.9 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.0074, allocations: 3.984 kB / 355.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.007401, allocations: 8 kB / 355.9 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001118/0.007513, allocations: 171.8 kB / 356.1 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.007529, allocations: 15.89 kB / 356.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.007548, allocations: 4 kB / 356.1 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.272e-05/0.007581, allocations: 8 kB / 356.1 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.007608, allocations: 11.92 kB / 356.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.007621, allocations: 7.984 kB / 356.1 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.613e-05/0.007677, allocations: 181.4 kB / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007677, allocations: 0 / 356.3 MB, free: 0.5703 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001654/0.007842, allocations: 39.92 kB / 356.3 MB, free: 0.5312 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009068/0.008749, allocations: 442.8 kB / 356.8 MB, free: 192 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001216/0.008871, allocations: 63.59 kB / 356.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.008872, allocations: 0 / 356.8 MB, free: 124 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.494e-05/0.008907, allocations: 35.66 kB / 356.9 MB, free: 84 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.009125, allocations: 67.03 kB / 356.9 MB, free: 20 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.009491, allocations: 261.5 kB / 357.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.00953, allocations: 76.11 kB / 357.3 MB, free: 15.64 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.78e-05/0.009588, allocations: 29.95 kB / 357.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001138/0.009701, allocations: 122.2 kB / 357.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.009702, allocations: 3.938 kB / 357.4 MB, free: 15.48 MB / 298.7 MB Notification: Performance of Templates: time 0.004841/0.01454, allocations: 3.223 MB / 360.6 MB, free: 12.29 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.3559682979248464]