Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.001401/0.001401, allocations: 75.2 kB / 19.93 MB, free: 1.77 MB / 14.72 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.001418/0.001418, allocations: 169.1 kB / 23.22 MB, free: 4.887 MB / 14.72 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.624/1.624, allocations: 158.6 MB / 185 MB, free: 6.406 MB / 174.1 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.2513/0.2513, allocations: 32.38 MB / 269.6 MB, free: 2.723 MB / 254.1 MB " [Timeout remaining time 179] 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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 407.4 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.417e-05/3.627e-05, allocations: 2.281 kB / 407.4 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.004554/0.00459, allocations: 1.682 MB / 409.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002152/0.006742, allocations: 0.7724 MB / 409.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.00687, allocations: 7.938 kB / 409.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000575/0.007445, allocations: 35.83 kB / 409.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003714/0.007817, allocations: 63.69 kB / 410 MB, free: 14.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003748/0.008191, allocations: 83.7 kB / 410.1 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003163/0.008508, allocations: 99.62 kB / 410.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.008692, allocations: 12.16 kB / 410.2 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.008858, allocations: 55.78 kB / 410.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001264/0.008984, allocations: 27.89 kB / 410.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.523e-05/0.009019, allocations: 4 kB / 410.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.009156, allocations: 43.92 kB / 410.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.009257, allocations: 19.92 kB / 410.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.885e-05/0.009336, allocations: 19.92 kB / 410.4 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003447/0.00968, allocations: 119.6 kB / 410.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.009687, allocations: 0 / 410.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.009689, allocations: 0 / 410.5 MB, free: 13.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.009697, allocations: 0 / 410.5 MB, free: 13.68 MB / 350.1 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.0007817/0.01048, allocations: 333.6 kB / 410.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.01053, allocations: 12.03 kB / 410.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.01059, allocations: 8.891 kB / 410.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004176/0.01101, allocations: 149.5 kB / 411 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.01103, allocations: 4.375 kB / 411 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.122e-05/0.01106, allocations: 384 / 411 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.01129, allocations: 62.23 kB / 411 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.01131, allocations: 7.922 kB / 411 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.894e-05/0.01133, allocations: 3.984 kB / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.01134, allocations: 0 / 411 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.997e-05/0.01144, allocations: 23.98 kB / 411.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.0119, allocations: 224.6 kB / 411.3 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.01211, allocations: 58.61 kB / 411.3 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.0122, allocations: 28.78 kB / 411.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.01222, allocations: 11.94 kB / 411.4 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.0124, allocations: 63.39 kB / 411.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.0124, allocations: 0 / 411.5 MB, free: 12.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006669/0.01307, allocations: 185.3 kB / 411.6 MB, free: 12.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.01313, allocations: 55.41 kB / 411.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.01336, allocations: 186.3 kB / 411.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.01338, allocations: 25.7 kB / 411.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.088e-05/0.01346, allocations: 104 kB / 412 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.995e-05/0.0135, allocations: 23.84 kB / 412 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/0.01355, allocations: 25.72 kB / 412 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001999/0.01375, allocations: 330.8 kB / 412.4 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.51e-05/0.01381, allocations: 19.98 kB / 412.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.611e-05/0.0139, allocations: 41.64 kB / 412.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001323/0.01403, allocations: 61.64 kB / 412.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.01403, allocations: 0 / 412.5 MB, free: 11.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000211/0.01424, allocations: 105.6 kB / 412.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01426, allocations: 4 kB / 412.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.01427, allocations: 4 kB / 412.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.682e-05/0.01429, allocations: 4.031 kB / 412.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.01439, allocations: 15.98 kB / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01439, allocations: 0 / 412.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.754e-05/0.01445, allocations: 11.89 kB / 412.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.01447, allocations: 8 kB / 412.6 MB, free: 11.34 MB / 350.1 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.0001477/0.01461, allocations: 130.6 kB / 412.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.01464, allocations: 7.953 kB / 412.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003106/0.01495, allocations: 122.5 kB / 412.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.01495, allocations: 4 kB / 412.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.01496, allocations: 4 kB / 412.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.01496, allocations: 3.984 kB / 412.9 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005059/0.01547, allocations: 342.9 kB / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01547, allocations: 0 / 413.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.005e-05/0.01551, allocations: 8 kB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.01551, allocations: 4 kB / 413.2 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.01553, allocations: 8.359 kB / 413.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.01553, allocations: 0 / 413.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.01554, allocations: 4 kB / 413.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.01586, allocations: 220.1 kB / 413.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.507e-05/0.01588, allocations: 11.98 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.01591, allocations: 4 kB / 413.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.01599, allocations: 3.984 kB / 413.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.717e-05/0.01604, allocations: 11.98 kB / 413.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.01605, allocations: 4.375 kB / 413.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001492/0.0162, allocations: 151.1 kB / 413.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.0162, allocations: 0 / 413.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.01648, allocations: 23.98 kB / 413.7 MB, free: 10.21 MB / 350.1 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.002043/0.01852, allocations: 0.4893 MB / 414.2 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002608/0.01878, allocations: 55.91 kB / 414.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.01879, allocations: 4 kB / 414.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.154e-05/0.01888, allocations: 27.98 kB / 414.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.01929, allocations: 28.09 kB / 414.3 MB, free: 9.668 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.01987, allocations: 234.5 kB / 414.5 MB, free: 9.406 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001104/0.01998, allocations: 92.25 kB / 414.6 MB, free: 9.297 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.728e-05/0.02004, allocations: 20.64 kB / 414.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.935e-05/0.02009, allocations: 16.5 kB / 414.6 MB, free: 9.262 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.02009, allocations: 4 kB / 414.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of Templates: time 0.005856/0.02595, allocations: 1.812 MB / 416.5 MB, free: 7.465 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test21.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.189014106988907]