Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0009939/0.0009939, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001212/0.001212, allocations: 170.8 kB / 24.91 MB, free: 9.152 MB / 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 0.965/0.965, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2384/0.2384, allocations: 34.26 MB / 296.1 MB, free: 0.7227 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.239e-05/1.371e-05, allocations: 4.281 kB / 325.3 MB, free: 7.625 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.00193/0.001944, allocations: 1.717 MB / 327 MB, free: 5.895 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.003062, allocations: 0.9904 MB / 328 MB, free: 4.898 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.232e-05/0.003134, allocations: 4 kB / 328 MB, free: 4.895 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.00343, allocations: 67.61 kB / 328.1 MB, free: 4.828 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.003698, allocations: 107.5 kB / 328.2 MB, free: 4.723 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001262/0.003824, allocations: 75.66 kB / 328.3 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.003986, allocations: 111.6 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.004032, allocations: 0.7344 kB / 328.4 MB, free: 4.539 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.004133, allocations: 59.88 kB / 328.5 MB, free: 4.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.933e-05/0.004222, allocations: 39.89 kB / 328.5 MB, free: 4.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.004236, allocations: 8 kB / 328.5 MB, free: 4.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.967e-05/0.004306, allocations: 39.8 kB / 328.5 MB, free: 4.395 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.933e-05/0.004355, allocations: 19.92 kB / 328.6 MB, free: 4.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.004388, allocations: 15.94 kB / 328.6 MB, free: 4.359 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.004541, allocations: 95.66 kB / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.004543, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.004544, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004547, allocations: 0 / 328.7 MB, free: 4.266 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004044/0.004952, allocations: 309.7 kB / 329 MB, free: 3.941 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.004987, allocations: 12.03 kB / 329 MB, free: 3.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.402e-05/0.005021, allocations: 8.875 kB / 329 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.005191, allocations: 155.4 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.005206, allocations: 384 / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.005217, allocations: 8.359 kB / 329.1 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.005318, allocations: 57.77 kB / 329.2 MB, free: 3.672 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.005327, allocations: 7.922 kB / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-06/0.005334, allocations: 0 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.005339, allocations: 0 / 329.2 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.005361, allocations: 4 kB / 329.2 MB, free: 3.66 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.541e-05/0.005446, allocations: 74.69 kB / 329.3 MB, free: 3.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.263e-05/0.005529, allocations: 41.38 kB / 329.3 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.971e-05/0.005548, allocations: 8.859 kB / 329.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.005559, allocations: 4 kB / 329.3 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/0.005641, allocations: 62.2 kB / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.02e-07/0.005642, allocations: 0 / 329.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001061/0.005748, allocations: 61.61 kB / 329.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.00578, allocations: 59.34 kB / 329.5 MB, free: 3.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.005879, allocations: 173.3 kB / 329.7 MB, free: 3.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.005893, allocations: 25.7 kB / 329.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.005921, allocations: 100.1 kB / 329.8 MB, free: 2.977 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.005948, allocations: 15.83 kB / 329.8 MB, free: 2.961 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.463e-05/0.005973, allocations: 17.72 kB / 329.8 MB, free: 2.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.006062, allocations: 326.8 kB / 330.2 MB, free: 2.609 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.468e-05/0.006076, allocations: 10.81 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.006097, allocations: 17.72 kB / 330.2 MB, free: 2.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.006132, allocations: 31.36 kB / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.006134, allocations: 0 / 330.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.715e-05/0.006191, allocations: 64.44 kB / 330.3 MB, free: 2.465 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.006202, allocations: 12.03 kB / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.006205, allocations: 0 / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.006216, allocations: 0 / 330.3 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.885e-05/0.006265, allocations: 16.19 kB / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-06/0.006268, allocations: 0 / 330.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.644e-05/0.006295, allocations: 11.98 kB / 330.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.207e-06/0.006299, allocations: 0 / 330.3 MB, free: 2.426 MB / 298.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 (7): * Single equations (assignments): 7 * 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 6.165e-05/0.006361, allocations: 125.4 kB / 330.4 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.876e-06/0.00637, allocations: 4 kB / 330.5 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.924e-05/0.006439, allocations: 62.83 kB / 330.5 MB, free: 2.223 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006441, allocations: 4 kB / 330.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.006444, allocations: 3.938 kB / 330.5 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.006449, allocations: 3.984 kB / 330.5 MB, free: 2.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.872e-05/0.006517, allocations: 85.88 kB / 330.6 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.9e-07/0.006518, allocations: 4 kB / 330.6 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.156e-05/0.006529, allocations: 7.938 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.006531, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.319e-06/0.006535, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.81e-07/0.006535, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.006536, allocations: 0 / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.006614, allocations: 90.69 kB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.179e-05/0.006626, allocations: 15.91 kB / 330.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.006641, allocations: 7.984 kB / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.516e-05/0.006656, allocations: 0 / 330.7 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.141e-05/0.006678, allocations: 4 kB / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.006686, allocations: 0 / 330.7 MB, free: 1.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.846e-05/0.006724, allocations: 59.58 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006724, allocations: 0 / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001096/0.006834, allocations: 23.92 kB / 330.8 MB, free: 1.875 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001008/0.007841, allocations: 0.5057 MB / 331.3 MB, free: 1.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.777e-05/0.007909, allocations: 32.86 kB / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.007912, allocations: 0 / 331.4 MB, free: 1.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.095e-05/0.007973, allocations: 24.78 kB / 331.4 MB, free: 1.57 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001055/0.008078, allocations: 25.73 kB / 331.4 MB, free: 1.551 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002476/0.008326, allocations: 198.8 kB / 331.6 MB, free: 1.328 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.107e-05/0.008357, allocations: 71.33 kB / 331.7 MB, free: 1.238 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.526e-05/0.008382, allocations: 12.47 kB / 331.7 MB, free: 1.227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.568e-05/0.008438, allocations: 75.36 kB / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 3.7e-07/0.008438, allocations: 0 / 331.8 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Templates: time 0.003064/0.0115, allocations: 1.767 MB / 333.5 MB, free: 15.4 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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: 2.7857695356942713]