Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.001089/0.001089, allocations: 88.2 kB / 20.94 MB, free: 3.602 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.001064/0.001064, allocations: 169.3 kB / 24.25 MB, free: 308 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.346/1.346, allocations: 158.6 MB / 186 MB, free: 2.934 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.1952/0.1952, allocations: 32.37 MB / 270.7 MB, free: 14.77 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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 3.938 kB / 347.7 MB, free: 9.715 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.905e-05/2.1e-05, allocations: 8.281 kB / 347.8 MB, free: 9.707 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.00218/0.002201, allocations: 1.742 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.003508, allocations: 0.7881 MB / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.003604, allocations: 0 / 350.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003933/0.003997, allocations: 51.75 kB / 350.3 MB, free: 7.105 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002962/0.004293, allocations: 59.7 kB / 350.4 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.004567, allocations: 87.7 kB / 350.5 MB, free: 6.961 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.004759, allocations: 91.69 kB / 350.6 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.004882, allocations: 12.22 kB / 350.6 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.004992, allocations: 55.77 kB / 350.6 MB, free: 6.805 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.517e-05/0.005078, allocations: 19.92 kB / 350.7 MB, free: 6.785 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.005102, allocations: 4 kB / 350.7 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.04e-05/0.005182, allocations: 43.92 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.005235, allocations: 35.91 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.251e-05/0.005278, allocations: 23.86 kB / 350.8 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.005451, allocations: 95.66 kB / 350.9 MB, free: 6.586 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.005455, allocations: 4 kB / 350.9 MB, free: 6.582 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005456, allocations: 3.938 kB / 350.9 MB, free: 6.578 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.005462, allocations: 4 kB / 350.9 MB, free: 6.574 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.0005626/0.006024, allocations: 451.8 kB / 351.3 MB, free: 6.098 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.006079, allocations: 8.031 kB / 351.3 MB, free: 6.09 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.488e-05/0.006144, allocations: 20.78 kB / 351.3 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.006363, allocations: 152.4 kB / 351.5 MB, free: 5.895 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.00639, allocations: 8.375 kB / 351.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.559e-05/0.006416, allocations: 4.375 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000139/0.006555, allocations: 62.94 kB / 351.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.006566, allocations: 3.938 kB / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.006577, allocations: 0 / 351.6 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.006585, allocations: 3.938 kB / 351.6 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.627e-05/0.006621, allocations: 11.98 kB / 351.6 MB, free: 5.793 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003479/0.006969, allocations: 291.8 kB / 351.9 MB, free: 5.473 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.007111, allocations: 51.17 kB / 351.9 MB, free: 5.41 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.007151, allocations: 27.55 kB / 351.9 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.007166, allocations: 4 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001149/0.007281, allocations: 69.05 kB / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.583e-06/0.007283, allocations: 0 / 352 MB, free: 5.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005288/0.007812, allocations: 153.4 kB / 352.2 MB, free: 5.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.007846, allocations: 51.41 kB / 352.2 MB, free: 5.074 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.008023, allocations: 245.9 kB / 352.4 MB, free: 4.816 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.008035, allocations: 29.7 kB / 352.5 MB, free: 4.781 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.008088, allocations: 150.9 kB / 352.6 MB, free: 4.629 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.008123, allocations: 35.77 kB / 352.7 MB, free: 4.594 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.114e-05/0.008164, allocations: 31.38 kB / 352.7 MB, free: 4.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.552e-05/0.00824, allocations: 0.4962 MB / 353.2 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.493e-05/0.008275, allocations: 12.36 kB / 353.2 MB, free: 4.035 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.589e-05/0.008321, allocations: 39.3 kB / 353.2 MB, free: 3.988 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.307e-05/0.008374, allocations: 51.31 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.008375, allocations: 4 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001037/0.008479, allocations: 93.52 kB / 353.4 MB, free: 3.828 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.008494, allocations: 4 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.008499, allocations: 4.031 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.008516, allocations: 0 / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.008613, allocations: 16 kB / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.044e-06/0.00862, allocations: 0 / 353.4 MB, free: 3.805 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.582e-05/0.008666, allocations: 7.984 kB / 353.4 MB, free: 3.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.008673, allocations: 4 kB / 353.4 MB, free: 3.793 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.125e-05/0.008744, allocations: 172.4 kB / 353.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.008769, allocations: 15.91 kB / 353.6 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001916/0.008961, allocations: 107.3 kB / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.008964, allocations: 0 / 353.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.008969, allocations: 4 kB / 353.7 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.008974, allocations: 3.938 kB / 353.7 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.009312, allocations: 393 kB / 354.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.009315, allocations: 3.984 kB / 354.1 MB, free: 3.043 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.234e-05/0.009348, allocations: 15.92 kB / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.009351, allocations: 0 / 354.1 MB, free: 3.027 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.009362, allocations: 4 kB / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.009365, allocations: 0 / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.009367, allocations: 0 / 354.1 MB, free: 3.023 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000173/0.00954, allocations: 259.4 kB / 354.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.009559, allocations: 19.94 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.009582, allocations: 4 kB / 354.4 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.701e-05/0.009659, allocations: 3.984 kB / 354.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.009701, allocations: 8 kB / 354.4 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.009719, allocations: 7.984 kB / 354.4 MB, free: 2.703 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.247e-05/0.009811, allocations: 179.1 kB / 354.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.009811, allocations: 0 / 354.6 MB, free: 2.527 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002905/0.0101, allocations: 31.92 kB / 354.6 MB, free: 2.496 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.001215/0.01132, allocations: 439.3 kB / 355.1 MB, free: 2.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001637/0.01148, allocations: 55.55 kB / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.01148, allocations: 0 / 355.1 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.621e-05/0.01154, allocations: 39.59 kB / 355.1 MB, free: 2.059 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.01189, allocations: 31.97 kB / 355.2 MB, free: 2.027 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003937/0.01229, allocations: 225.8 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.606e-05/0.01233, allocations: 79.27 kB / 355.5 MB, free: 1.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.968e-05/0.01238, allocations: 24.53 kB / 355.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.01243, allocations: 16.5 kB / 355.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01243, allocations: 0 / 355.5 MB, free: 1.637 MB / 282.7 MB Notification: Performance of Templates: time 0.004557/0.01699, allocations: 1.852 MB / 357.4 MB, free: 15.81 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.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.728904051007703]