Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.002668/0.002668, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.003073/0.003073, allocations: 165.3 kB / 24.28 MB, free: 156 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.584/1.584, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] 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.3525/0.3525, allocations: 32.8 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 179] 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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.852e-05, allocations: 2.312 kB / 375.4 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003411/0.003439, allocations: 1.731 MB / 377.1 MB, free: 3.176 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.005492, allocations: 0.9971 MB / 378.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.005564, allocations: 8 kB / 378.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003156/0.00588, allocations: 39.7 kB / 378.1 MB, free: 2.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.006203, allocations: 95.53 kB / 378.2 MB, free: 2.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.006436, allocations: 87.55 kB / 378.3 MB, free: 1.949 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001879/0.006624, allocations: 99.69 kB / 378.4 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.124e-05/0.006705, allocations: 11.98 kB / 378.4 MB, free: 1.84 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.006823, allocations: 55.77 kB / 378.5 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.866e-05/0.006901, allocations: 23.92 kB / 378.5 MB, free: 1.762 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.006924, allocations: 4 kB / 378.5 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.007029, allocations: 43.92 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.358e-05/0.007093, allocations: 27.91 kB / 378.6 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.758e-05/0.00714, allocations: 19.92 kB / 378.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.007386, allocations: 119.6 kB / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.007388, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007389, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.007394, allocations: 0 / 378.7 MB, free: 1.551 MB / 346.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.000663/0.008057, allocations: 447.5 kB / 379.1 MB, free: 1.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.008092, allocations: 12.03 kB / 379.2 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.986e-05/0.008152, allocations: 16.84 kB / 379.2 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.008417, allocations: 157.1 kB / 379.3 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.00843, allocations: 4.375 kB / 379.3 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.008453, allocations: 8.359 kB / 379.3 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.008596, allocations: 50.25 kB / 379.4 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.008614, allocations: 7.922 kB / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.008623, allocations: 0 / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.008627, allocations: 0 / 379.4 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.826e-05/0.008705, allocations: 19.94 kB / 379.4 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006793/0.009384, allocations: 295.7 kB / 379.7 MB, free: 464 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001884/0.009573, allocations: 71.09 kB / 379.8 MB, free: 380 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.009633, allocations: 19.62 kB / 379.8 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.815e-05/0.009651, allocations: 8 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.009814, allocations: 76.97 kB / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.009815, allocations: 0 / 379.9 MB, free: 256 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006337/0.01045, allocations: 173.4 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.0105, allocations: 51.41 kB / 380.1 MB, free: 12 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002798/0.01078, allocations: 250.4 kB / 380.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.0108, allocations: 29.7 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.01093, allocations: 166.7 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.01097, allocations: 27.8 kB / 380.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.01102, allocations: 27.36 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002938/0.01132, allocations: 0.5079 MB / 381.1 MB, free: 14.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.767e-05/0.01138, allocations: 19.98 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.111e-05/0.01147, allocations: 39.38 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.0116, allocations: 71.23 kB / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.0116, allocations: 0 / 381.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002275/0.01183, allocations: 105.6 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.01184, allocations: 4 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01185, allocations: 384 / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.01187, allocations: 3.984 kB / 381.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.01197, allocations: 20.03 kB / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.01197, allocations: 0 / 381.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.01204, allocations: 7.984 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.01205, allocations: 8 kB / 381.4 MB, free: 14.67 MB / 362.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 0.0001355/0.01218, allocations: 164.5 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.01222, allocations: 15.91 kB / 381.5 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002692/0.01248, allocations: 123.2 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01249, allocations: 4 kB / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.01249, allocations: 0 / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.0125, allocations: 0 / 381.7 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005717/0.01307, allocations: 424.9 kB / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.01307, allocations: 0 / 382.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.332e-05/0.01311, allocations: 11.94 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01311, allocations: 0 / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.01313, allocations: 4 kB / 382.1 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01313, allocations: 3.938 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01313, allocations: 0 / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.01346, allocations: 275.4 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.01348, allocations: 11.91 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.204e-05/0.0135, allocations: 0 / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.01358, allocations: 8.031 kB / 382.4 MB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.01361, allocations: 7.984 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.01363, allocations: 4 kB / 382.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000163/0.01379, allocations: 188.1 kB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01379, allocations: 0 / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002621/0.01405, allocations: 23.94 kB / 382.6 MB, free: 13.34 MB / 362.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.00328/0.01733, allocations: 489.1 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002144/0.01755, allocations: 71.53 kB / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01755, allocations: 0 / 383.2 MB, free: 12.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.516e-05/0.01764, allocations: 47.59 kB / 383.2 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.01802, allocations: 31.91 kB / 383.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005146/0.01853, allocations: 226 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.01864, allocations: 104.4 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.0187, allocations: 21.27 kB / 383.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.01874, allocations: 16.5 kB / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01874, allocations: 0 / 383.6 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.00567/0.02441, allocations: 1.866 MB / 385.5 MB, free: 10.66 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.0296341619687155]