Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.0009499/0.0009499, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001061/0.001061, allocations: 161.4 kB / 24.56 MB, free: 20 kB / 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 1.046/1.046, allocations: 177.1 MB / 205 MB, free: 5.285 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.2981/0.2981, allocations: 34.26 MB / 295.7 MB, free: 0.7109 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.Test73,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.307e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002766/0.002799, allocations: 1.94 MB / 380.1 MB, free: 0.6094 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.004284, allocations: 1.111 MB / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.004397, allocations: 0 / 381.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003937/0.004791, allocations: 167.3 kB / 381.4 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004568/0.005248, allocations: 183.2 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.005545, allocations: 127.5 kB / 381.7 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.005862, allocations: 255.2 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.005997, allocations: 13.97 kB / 381.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000245/0.006242, allocations: 139.6 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.006413, allocations: 131.6 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.006437, allocations: 8 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001272/0.006564, allocations: 63.92 kB / 382.3 MB, free: 14.43 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.5e-05/0.006639, allocations: 51.77 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.087e-05/0.0067, allocations: 51.78 kB / 382.4 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002641/0.006964, allocations: 187.2 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.006968, allocations: 4 kB / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.012e-06/0.006969, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.006976, allocations: 0 / 382.5 MB, free: 14.14 MB / 362.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.0006194/0.007596, allocations: 0.5614 MB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.007638, allocations: 12.03 kB / 383.1 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.00771, allocations: 28.78 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002789/0.007989, allocations: 220.6 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.008011, allocations: 4.375 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.352e-05/0.008045, allocations: 8.375 kB / 383.4 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.00825, allocations: 122.2 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.008264, allocations: 7.938 kB / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.008277, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.008285, allocations: 0 / 383.5 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.147e-05/0.008346, allocations: 39.89 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004651/0.008811, allocations: 498.5 kB / 384 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002678/0.009079, allocations: 118.1 kB / 384.1 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.00913, allocations: 39.48 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.009148, allocations: 7.938 kB / 384.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.0093, allocations: 116.5 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.044e-06/0.009302, allocations: 3.984 kB / 384.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008599/0.01016, allocations: 460.6 kB / 384.8 MB, free: 11.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.01021, allocations: 85.05 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/0.01046, allocations: 354.3 kB / 385.2 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.01048, allocations: 33.7 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.01057, allocations: 207.3 kB / 385.4 MB, free: 11.03 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/0.01063, allocations: 67.42 kB / 385.5 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.5e-05/0.01068, allocations: 55.36 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.01082, allocations: 0.5235 MB / 386.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.659e-05/0.01089, allocations: 31.98 kB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.01096, allocations: 74.72 kB / 386.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001396/0.0111, allocations: 130.8 kB / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.0111, allocations: 0 / 386.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002437/0.01135, allocations: 201.3 kB / 386.5 MB, free: 9.895 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.01137, allocations: 6.188 kB / 386.5 MB, free: 9.891 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.01137, allocations: 4 kB / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.01139, allocations: 0 / 386.5 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.0115, allocations: 47.92 kB / 386.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/0.01151, allocations: 5.109 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.01156, allocations: 11.98 kB / 386.6 MB, free: 9.824 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.01157, allocations: 8 kB / 386.6 MB, free: 9.816 MB / 362.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 9.71e-05/0.01166, allocations: 164.6 kB / 386.7 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.882e-05/0.0117, allocations: 47.77 kB / 386.8 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003015/0.012, allocations: 227.4 kB / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01201, allocations: 0 / 387 MB, free: 9.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.01201, allocations: 7.938 kB / 387 MB, free: 9.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.01202, allocations: 3.984 kB / 387 MB, free: 9.355 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005785/0.0126, allocations: 0.741 MB / 387.8 MB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.0126, allocations: 3.938 kB / 387.8 MB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.926e-05/0.01266, allocations: 35.92 kB / 387.8 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.888e-06/0.01266, allocations: 4.125 kB / 387.8 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.01268, allocations: 15.98 kB / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.01268, allocations: 0 / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.01268, allocations: 8 kB / 387.8 MB, free: 8.488 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000316/0.013, allocations: 0.5043 MB / 388.3 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.01303, allocations: 27.8 kB / 388.4 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.808e-05/0.01305, allocations: 8 kB / 388.4 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.01313, allocations: 8 kB / 388.4 MB, free: 7.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.425e-05/0.01319, allocations: 15.97 kB / 388.4 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.01321, allocations: 19.98 kB / 388.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001497/0.01336, allocations: 246.9 kB / 388.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01336, allocations: 0 / 388.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002517/0.01361, allocations: 55.92 kB / 388.7 MB, free: 7.574 MB / 362.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.001165/0.01477, allocations: 490.1 kB / 389.2 MB, free: 7.281 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.01502, allocations: 128 kB / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.01502, allocations: 0 / 389.3 MB, free: 7.152 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.94e-05/0.01511, allocations: 79.52 kB / 389.4 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/0.01549, allocations: 82.8 kB / 389.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006108/0.0161, allocations: 461.9 kB / 389.9 MB, free: 6.496 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.415e-05/0.01616, allocations: 96.31 kB / 390 MB, free: 6.383 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.136e-05/0.01623, allocations: 41.86 kB / 390 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.099e-05/0.01628, allocations: 24.5 kB / 390.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01628, allocations: 0 / 390.1 MB, free: 6.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005657/0.02194, allocations: 3.326 MB / 393.4 MB, free: 3.043 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.5600968711078167]