Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.001112/0.001112, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001463/0.002575, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001067/0.001067, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002467, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1039/1.112, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] 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.3206/0.3206, allocations: 32.8 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03782/0.3584, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.7 MB " [Timeout remaining time 180] 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.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.109e-05/3.27e-05, allocations: 7.438 kB / 290.7 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.004167/0.0042, allocations: 1.803 MB / 292.5 MB, free: 6.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.006131, allocations: 1.016 MB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.006237, allocations: 3.062 kB / 293.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.006501, allocations: 42.77 kB / 293.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003457/0.006846, allocations: 96.44 kB / 293.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.007094, allocations: 79.11 kB / 293.7 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002397/0.007334, allocations: 111.6 kB / 293.8 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.007458, allocations: 8.734 kB / 293.9 MB, free: 5.051 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001695/0.007627, allocations: 79.75 kB / 293.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.007751, allocations: 27.91 kB / 294 MB, free: 4.945 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.007769, allocations: 4 kB / 294 MB, free: 4.941 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.007858, allocations: 47.91 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.142e-05/0.00791, allocations: 15.94 kB / 294 MB, free: 4.879 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.007949, allocations: 19.94 kB / 294 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.008119, allocations: 95.55 kB / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.647e-05/0.008136, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.008136, allocations: 0 / 294.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.008151, allocations: 0 / 294.1 MB, free: 4.766 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.0004759/0.008627, allocations: 332.6 kB / 294.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.008666, allocations: 12.03 kB / 294.5 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/0.008703, allocations: 4.938 kB / 294.5 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.008851, allocations: 146.2 kB / 294.6 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/0.008866, allocations: 4.375 kB / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.008886, allocations: 384 / 294.6 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.009, allocations: 69.77 kB / 294.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.009012, allocations: 7.875 kB / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.009019, allocations: 0 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.009023, allocations: 0 / 294.7 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.009051, allocations: 11.98 kB / 294.7 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002086/0.009259, allocations: 165.8 kB / 294.9 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.563e-05/0.009355, allocations: 85.36 kB / 295 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.009376, allocations: 16.84 kB / 295 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.009388, allocations: 4 kB / 295 MB, free: 3.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001075/0.009496, allocations: 70.09 kB / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.009497, allocations: 0 / 295 MB, free: 3.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004178/0.009915, allocations: 113.8 kB / 295.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.009952, allocations: 51.41 kB / 295.2 MB, free: 3.574 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.01006, allocations: 169 kB / 295.4 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.01008, allocations: 29.64 kB / 295.4 MB, free: 3.359 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.194e-05/0.01012, allocations: 96.11 kB / 295.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.01016, allocations: 31.73 kB / 295.5 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.01019, allocations: 21.7 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.0103, allocations: 330.8 kB / 295.9 MB, free: 2.871 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.01032, allocations: 10.83 kB / 295.9 MB, free: 2.859 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.01035, allocations: 21.7 kB / 295.9 MB, free: 2.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.0104, allocations: 44.45 kB / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.0104, allocations: 0 / 295.9 MB, free: 2.781 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.11e-05/0.01048, allocations: 72.38 kB / 296 MB, free: 2.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.0105, allocations: 4 kB / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.01051, allocations: 0 / 296 MB, free: 2.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.01053, allocations: 4 kB / 296 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.506e-05/0.0106, allocations: 20.02 kB / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/0.0106, allocations: 0 / 296 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.039e-05/0.01064, allocations: 8 kB / 296.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-06/0.01064, allocations: 0 / 296.1 MB, free: 2.668 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 7.127e-05/0.01071, allocations: 116.7 kB / 296.2 MB, free: 2.543 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.01073, allocations: 15.92 kB / 296.2 MB, free: 2.527 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001087/0.01084, allocations: 79.05 kB / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01084, allocations: 0 / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01084, allocations: 0 / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.01085, allocations: 0 / 296.3 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002711/0.01112, allocations: 303.6 kB / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01112, allocations: 0 / 296.6 MB, free: 2.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-05/0.01115, allocations: 12 kB / 296.6 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.523e-05/0.01117, allocations: 15.89 kB / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.01117, allocations: 0 / 296.6 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.01118, allocations: 3.938 kB / 296.6 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.01118, allocations: 4 kB / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.01118, allocations: 0 / 296.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000108/0.01129, allocations: 219 kB / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.0113, allocations: 0 / 296.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.834e-05/0.01134, allocations: 19.95 kB / 296.8 MB, free: 1.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.897e-05/0.01137, allocations: 4 kB / 296.8 MB, free: 1.828 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.247e-05/0.01138, allocations: 3.984 kB / 296.8 MB, free: 1.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.052e-05/0.01142, allocations: 48.3 kB / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01142, allocations: 0 / 296.9 MB, free: 1.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.01157, allocations: 31.92 kB / 296.9 MB, free: 1.742 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.001427/0.013, allocations: 0.6265 MB / 297.5 MB, free: 1.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.286e-05/0.01309, allocations: 48.72 kB / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.0131, allocations: 0 / 297.6 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.135e-05/0.01313, allocations: 32.77 kB / 297.6 MB, free: 1.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.01331, allocations: 40.25 kB / 297.7 MB, free: 1.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.01375, allocations: 224.2 kB / 297.9 MB, free: 1.098 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.437e-05/0.0138, allocations: 67.34 kB / 297.9 MB, free: 1.012 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.525e-05/0.01383, allocations: 17.27 kB / 298 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.617e-05/0.0139, allocations: 67.36 kB / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0139, allocations: 0 / 298 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of Templates: time 0.003728/0.01763, allocations: 2.043 MB / 300.1 MB, free: 14.92 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.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.240654650144279]