Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 77.36 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001539/0.002588, allocations: 445.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007026/0.0007026, allocations: 148.9 kB / 11.34 MB, free: 2.832 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001436/0.002139, allocations: 475.6 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9472/0.9472, allocations: 173.4 MB / 185.9 MB, free: 8.922 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07892/1.026, allocations: 52.5 MB / 238.4 MB, free: 4.363 MB / 234.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.1263/0.1263, allocations: 32.8 MB / 272 MB, free: 2.969 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/0.2674, allocations: 12.55 MB / 284.5 MB, free: 11.88 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 285.9 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.233e-05/1.356e-05, allocations: 6.859 kB / 285.9 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002623/0.002637, allocations: 1.948 MB / 287.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004498/0.007135, allocations: 0.993 MB / 288.9 MB, free: 8.434 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.007223, allocations: 6.25 kB / 288.9 MB, free: 8.43 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000391/0.007614, allocations: 291.8 kB / 289.2 MB, free: 8.285 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002899/0.007904, allocations: 210.9 kB / 289.4 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.008278, allocations: 189.3 kB / 289.6 MB, free: 8.027 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.008556, allocations: 246.8 kB / 289.8 MB, free: 7.898 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.008645, allocations: 26.73 kB / 289.8 MB, free: 7.883 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001964/0.01061, allocations: 202.9 kB / 290 MB, free: 7.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002095/0.01082, allocations: 152.5 kB / 290.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.01084, allocations: 8.938 kB / 290.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.01097, allocations: 65.67 kB / 290.3 MB, free: 7.688 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.692e-05/0.01105, allocations: 60.78 kB / 290.3 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.592e-05/0.01111, allocations: 37.94 kB / 290.4 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.01136, allocations: 180.7 kB / 290.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.303e-05/0.01137, allocations: 0 / 290.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.01137, allocations: 0 / 290.5 MB, free: 7.559 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.01138, allocations: 5.312 kB / 290.5 MB, free: 7.555 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006612/0.01205, allocations: 0.5186 MB / 291.1 MB, free: 7.117 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.01209, allocations: 13.58 kB / 291.1 MB, free: 7.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.01214, allocations: 18.67 kB / 291.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.01238, allocations: 216.4 kB / 291.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.01241, allocations: 8.438 kB / 291.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.01244, allocations: 8.5 kB / 291.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.01262, allocations: 107.9 kB / 291.4 MB, free: 6.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.01264, allocations: 7.891 kB / 291.4 MB, free: 6.801 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.01265, allocations: 5.375 kB / 291.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.616e-06/0.01266, allocations: 1.375 kB / 291.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.01273, allocations: 40.58 kB / 291.5 MB, free: 6.77 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.01311, allocations: 300.8 kB / 291.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002408/0.01335, allocations: 189.9 kB / 292 MB, free: 6.324 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.73e-05/0.01339, allocations: 31.11 kB / 292 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.0134, allocations: 2.281 kB / 292 MB, free: 6.301 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.01354, allocations: 106.3 kB / 292.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.01354, allocations: 4 kB / 292.1 MB, free: 6.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006144/0.01416, allocations: 328.8 kB / 292.4 MB, free: 6.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.01419, allocations: 84.52 kB / 292.5 MB, free: 5.949 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.01441, allocations: 339.6 kB / 292.8 MB, free: 5.734 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.01443, allocations: 32.58 kB / 292.9 MB, free: 5.699 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.01448, allocations: 119.3 kB / 293 MB, free: 5.594 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.093e-05/0.01453, allocations: 78.52 kB / 293.1 MB, free: 5.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-05/0.01457, allocations: 38.91 kB / 293.1 MB, free: 5.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.099e-05/0.01466, allocations: 351.5 kB / 293.4 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.937e-05/0.0147, allocations: 24.86 kB / 293.5 MB, free: 5.145 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.01476, allocations: 67.94 kB / 293.5 MB, free: 5.09 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.523e-05/0.01485, allocations: 104.3 kB / 293.6 MB, free: 5.023 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.01485, allocations: 4 kB / 293.6 MB, free: 5.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001393/0.01499, allocations: 139 kB / 293.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.01501, allocations: 5.375 kB / 293.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01501, allocations: 64 / 293.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.01502, allocations: 6.688 kB / 293.8 MB, free: 4.945 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.01513, allocations: 49.78 kB / 293.8 MB, free: 4.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01513, allocations: 6.031 kB / 293.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.498e-05/0.01518, allocations: 12.06 kB / 293.8 MB, free: 4.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.01519, allocations: 8.203 kB / 293.9 MB, free: 4.918 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.245e-05/0.01527, allocations: 126.5 kB / 294 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.0153, allocations: 28.94 kB / 294 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001715/0.01547, allocations: 150.2 kB / 294.1 MB, free: 4.68 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01547, allocations: 7.938 kB / 294.2 MB, free: 4.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.01548, allocations: 4 kB / 294.2 MB, free: 4.668 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.01548, allocations: 3.984 kB / 294.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003916/0.01587, allocations: 0.5633 MB / 294.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01587, allocations: 3.984 kB / 294.7 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.135e-05/0.01594, allocations: 43.92 kB / 294.8 MB, free: 4.016 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.338e-05/0.01596, allocations: 31.7 kB / 294.8 MB, free: 3.984 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01596, allocations: 4 kB / 294.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.01597, allocations: 7.984 kB / 294.8 MB, free: 3.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01598, allocations: 4.125 kB / 294.8 MB, free: 3.969 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.01598, allocations: 4 kB / 294.8 MB, free: 3.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.01617, allocations: 417.2 kB / 295.2 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.01619, allocations: 11.98 kB / 295.2 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.049e-05/0.01626, allocations: 4 kB / 295.2 MB, free: 3.512 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.652e-05/0.0163, allocations: 19.97 kB / 295.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.468e-05/0.01632, allocations: 4 kB / 295.3 MB, free: 3.488 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001042/0.01642, allocations: 159.5 kB / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01642, allocations: 0 / 295.4 MB, free: 3.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002055/0.01663, allocations: 47.94 kB / 295.5 MB, free: 3.281 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001649/0.01827, allocations: 0.7354 MB / 296.2 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000147/0.01842, allocations: 104.2 kB / 296.3 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/0.01843, allocations: 11.92 kB / 296.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.533e-05/0.01851, allocations: 77.2 kB / 296.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.0189, allocations: 360.7 kB / 296.8 MB, free: 2.336 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006736/0.01957, allocations: 0.499 MB / 297.2 MB, free: 1.789 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.01963, allocations: 100.3 kB / 297.3 MB, free: 1.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.166e-05/0.0197, allocations: 41.91 kB / 297.4 MB, free: 1.629 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.917e-05/0.0198, allocations: 95.34 kB / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.0198, allocations: 0 / 297.5 MB, free: 1.535 MB / 282.7 MB Notification: Performance of Templates: time 0.005142/0.02495, allocations: 3.673 MB / 301.2 MB, free: 13.93 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9703317498788238]