Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.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.0007317/0.0007317, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001837, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009155/0.0009155, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002302, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9853/0.9853, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1016/1.087, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.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.2629/0.2629, allocations: 34.26 MB / 278.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02835/0.2912, allocations: 13.1 MB / 291.5 MB, free: 7.328 MB / 282.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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.607e-06/3.607e-06, allocations: 4 kB / 292.9 MB, free: 6.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/3.072e-05, allocations: 7.344 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.0041/0.00413, allocations: 2.003 MB / 294.9 MB, free: 4.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001935/0.006066, allocations: 1.064 MB / 296 MB, free: 3.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001278/0.006194, allocations: 4 kB / 296 MB, free: 3.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.006476, allocations: 43.59 kB / 296 MB, free: 2.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003505/0.006826, allocations: 103.3 kB / 296.1 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.007176, allocations: 103.5 kB / 296.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.007479, allocations: 143.6 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001333/0.007612, allocations: 26.39 kB / 296.4 MB, free: 2.609 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002344/0.007846, allocations: 107.6 kB / 296.5 MB, free: 2.504 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.007974, allocations: 43.83 kB / 296.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.552e-05/0.008, allocations: 8 kB / 296.6 MB, free: 2.453 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.008137, allocations: 47.92 kB / 296.6 MB, free: 2.406 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.058e-05/0.008208, allocations: 23.86 kB / 296.6 MB, free: 2.383 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.742e-05/0.008265, allocations: 23.94 kB / 296.7 MB, free: 2.359 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002962/0.008561, allocations: 115.5 kB / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.785e-05/0.008579, allocations: 0 / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.008581, allocations: 0 / 296.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.008595, allocations: 0 / 296.8 MB, free: 2.246 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007063/0.009301, allocations: 422.4 kB / 297.2 MB, free: 1.805 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.00934, allocations: 12.03 kB / 297.2 MB, free: 1.793 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.68e-05/0.009397, allocations: 12.92 kB / 297.2 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.009636, allocations: 158.4 kB / 297.4 MB, free: 1.598 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.009664, allocations: 8.375 kB / 297.4 MB, free: 1.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.009692, allocations: 4.375 kB / 297.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.009904, allocations: 139 kB / 297.5 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.009915, allocations: 3.938 kB / 297.5 MB, free: 1.422 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.009926, allocations: 8 kB / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.009934, allocations: 0 / 297.5 MB, free: 1.414 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.325e-05/0.009987, allocations: 29.61 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004416/0.01043, allocations: 374.1 kB / 297.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.01064, allocations: 105.2 kB / 298 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.16e-05/0.01067, allocations: 16.86 kB / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.01069, allocations: 0 / 298 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.01084, allocations: 103.9 kB / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.993e-06/0.01084, allocations: 0 / 298.1 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001741/0.01101, allocations: 77.59 kB / 298.2 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.837e-05/0.01104, allocations: 51.41 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.01121, allocations: 185.6 kB / 298.4 MB, free: 412 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.01123, allocations: 29.7 kB / 298.5 MB, free: 376 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.242e-05/0.01129, allocations: 112 kB / 298.6 MB, free: 260 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.01132, allocations: 31.73 kB / 298.6 MB, free: 228 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01136, allocations: 29.7 kB / 298.6 MB, free: 192 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000113/0.01148, allocations: 334.7 kB / 299 MB, free: 15.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.335e-05/0.01151, allocations: 14.83 kB / 299 MB, free: 15.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.892e-05/0.01156, allocations: 52.2 kB / 299 MB, free: 15.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.047e-05/0.01165, allocations: 65.86 kB / 299.1 MB, free: 15.69 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.01165, allocations: 4 kB / 299.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001433/0.0118, allocations: 92.42 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.01181, allocations: 8 kB / 299.2 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.01182, allocations: 4 kB / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.01183, allocations: 0 / 299.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.01194, allocations: 27.92 kB / 299.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.01194, allocations: 4 kB / 299.2 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.179e-05/0.01199, allocations: 11.95 kB / 299.2 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/0.01201, allocations: 8 kB / 299.3 MB, free: 15.52 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.697e-05/0.01211, allocations: 124.6 kB / 299.4 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.01213, allocations: 11.98 kB / 299.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001538/0.01228, allocations: 83.53 kB / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.01229, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.01229, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.01229, allocations: 0 / 299.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.01242, allocations: 101.8 kB / 299.6 MB, free: 15.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.01242, allocations: 7.938 kB / 299.6 MB, free: 15.17 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.359e-05/0.0125, allocations: 12 kB / 299.6 MB, free: 15.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.465e-05/0.01253, allocations: 19.88 kB / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.01253, allocations: 0 / 299.6 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.01256, allocations: 3.938 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.01256, allocations: 0 / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.01257, allocations: 4 kB / 299.6 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001901/0.01276, allocations: 114.7 kB / 299.7 MB, free: 15 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.498e-05/0.01278, allocations: 15.92 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.01283, allocations: 4 kB / 299.7 MB, free: 14.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/0.01287, allocations: 3.984 kB / 299.7 MB, free: 14.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.01288, allocations: 4 kB / 299.8 MB, free: 14.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.817e-05/0.01295, allocations: 57.41 kB / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01295, allocations: 0 / 299.8 MB, free: 14.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002044/0.01316, allocations: 35.88 kB / 299.8 MB, free: 14.88 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001345/0.0145, allocations: 0.5566 MB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00012/0.01462, allocations: 44.78 kB / 300.4 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/0.01463, allocations: 8.125 kB / 300.5 MB, free: 14.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.646e-05/0.01468, allocations: 28.78 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.01494, allocations: 252.4 kB / 300.7 MB, free: 14.25 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005723/0.01551, allocations: 266.1 kB / 301 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.656e-05/0.01554, allocations: 67.84 kB / 301.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.881e-05/0.01559, allocations: 21.48 kB / 301.1 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.01567, allocations: 75.36 kB / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of SimCode: time 1.533e-06/0.01567, allocations: 0 / 301.1 MB, free: 13.78 MB / 298.7 MB Notification: Performance of Templates: time 0.003999/0.01967, allocations: 2.232 MB / 303.4 MB, free: 11.59 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8991495836526155]