Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 109.3 kB / 17.03 MB, free: 5.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 196.1 kB / 17.96 MB, free: 5.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.492/1.492, allocations: 205.1 MB / 223.8 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.222/0.222, allocations: 43.53 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 70.95 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1213, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003157/0.1245, allocations: 1.895 MB / 443.9 MB, free: 4.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.1257, allocations: 0.8388 MB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.1258, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.1261, allocations: 47.7 kB / 444.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002084/0.1263, allocations: 67.62 kB / 444.8 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002397/0.1266, allocations: 103.7 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.1268, allocations: 127.6 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.1269, allocations: 41.41 kB / 445.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.028e-05/0.127, allocations: 55.72 kB / 445.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.19e-05/0.1271, allocations: 51.7 kB / 445.2 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.1271, allocations: 8 kB / 445.2 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.461e-05/0.1272, allocations: 47.92 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.702e-05/0.1273, allocations: 27.92 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.927e-05/0.1273, allocations: 47.67 kB / 445.3 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1275, allocations: 143.5 kB / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1275, allocations: 0 / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.1275, allocations: 0 / 445.5 MB, free: 2.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1276, allocations: 7.938 kB / 445.5 MB, free: 2.625 MB / 318.1 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.0005823/0.1281, allocations: 480.5 kB / 445.9 MB, free: 2.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1282, allocations: 11.89 kB / 445.9 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.235e-05/0.1282, allocations: 16.75 kB / 446 MB, free: 2.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.1285, allocations: 224 kB / 446.2 MB, free: 1.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.1285, allocations: 4.375 kB / 446.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.1286, allocations: 20.05 kB / 446.2 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.1288, allocations: 111.5 kB / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.1288, allocations: 0 / 446.3 MB, free: 1.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.505e-05/0.1288, allocations: 4 kB / 446.3 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.1289, allocations: 7.984 kB / 446.3 MB, free: 1.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.129, allocations: 43.91 kB / 446.4 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.1295, allocations: 0.5087 MB / 446.9 MB, free: 1.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.1298, allocations: 86.59 kB / 447 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.327e-05/0.1299, allocations: 40.84 kB / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1299, allocations: 0 / 447 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001701/0.1301, allocations: 91.25 kB / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.582e-06/0.1301, allocations: 0 / 447.1 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003579/0.1305, allocations: 137.5 kB / 447.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.1305, allocations: 55.34 kB / 447.3 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1306, allocations: 199.4 kB / 447.5 MB, free: 408 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/0.1307, allocations: 29.7 kB / 447.5 MB, free: 372 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.33e-05/0.1307, allocations: 112 kB / 447.6 MB, free: 256 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1307, allocations: 31.64 kB / 447.6 MB, free: 224 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-05/0.1308, allocations: 33.7 kB / 447.7 MB, free: 184 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1309, allocations: 322.8 kB / 448 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.701e-05/0.131, allocations: 27.98 kB / 448 MB, free: 15.83 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.1311, allocations: 67.89 kB / 448.1 MB, free: 15.75 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.1313, allocations: 104.2 kB / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1313, allocations: 0 / 448.2 MB, free: 15.63 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002657/0.1316, allocations: 137.7 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.1316, allocations: 9.25 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1316, allocations: 96 / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.1316, allocations: 3.938 kB / 448.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.1317, allocations: 31.92 kB / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1318, allocations: 128 / 448.4 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1318, allocations: 15.91 kB / 448.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1318, allocations: 4 kB / 448.4 MB, free: 15.43 MB / 334.1 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 0.0001107/0.132, allocations: 134.8 kB / 448.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.132, allocations: 15.81 kB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.1321, allocations: 21.34 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1321, allocations: 3.938 kB / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1321, allocations: 0 / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1321, allocations: 0 / 448.6 MB, free: 15.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.1323, allocations: 209.5 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1323, allocations: 3.984 kB / 448.8 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.1324, allocations: 20 kB / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1324, allocations: 0 / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.173e-05/0.1324, allocations: 0 / 448.8 MB, free: 14.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1324, allocations: 3.938 kB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1324, allocations: 0 / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003979/0.1328, allocations: 188.8 kB / 449 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.959e-05/0.1329, allocations: 81.02 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1329, allocations: 4 kB / 449.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.133, allocations: 19.91 kB / 449.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.133, allocations: 7.938 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.1331, allocations: 3.984 kB / 449.1 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001097/0.1332, allocations: 137.2 kB / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 449.2 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1334, allocations: 36.02 kB / 449.3 MB, free: 14.46 MB / 334.1 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0009134/0.1343, allocations: 424.4 kB / 449.7 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002385/0.1346, allocations: 75.91 kB / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1346, allocations: 0 / 449.7 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.946e-05/0.1347, allocations: 43.91 kB / 449.8 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.135, allocations: 32.59 kB / 449.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005053/0.1355, allocations: 260 kB / 450.1 MB, free: 13.7 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.1359, allocations: 0.7123 MB / 450.8 MB, free: 12.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.16e-05/0.1359, allocations: 21.42 kB / 450.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.136, allocations: 15.44 kB / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.174e-06/0.136, allocations: 0 / 450.8 MB, free: 12.92 MB / 334.1 MB Notification: Performance of Templates: time 0.004926/0.1409, allocations: 1.872 MB / 452.7 MB, free: 11.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches