Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001205/0.001205, allocations: 194 kB / 18.77 MB, free: 4.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 242.5 MB, free: 13.76 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.17 MB / 336.8 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 69.72 kB / 408.4 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1169, allocations: 60.84 MB / 469.2 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003358/0.1203, allocations: 1.753 MB / 470.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001585/0.1219, allocations: 0.8653 MB / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.998e-05/0.122, allocations: 0 / 471.8 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.1224, allocations: 43.88 kB / 471.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002404/0.1227, allocations: 55.77 kB / 471.9 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.1231, allocations: 87.83 kB / 472 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1232, allocations: 95.69 kB / 472.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1234, allocations: 24.2 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.539e-05/0.1235, allocations: 35.8 kB / 472.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.283e-05/0.1235, allocations: 35.78 kB / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.778e-05/0.1236, allocations: 0 / 472.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.1237, allocations: 43.97 kB / 472.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.913e-05/0.1238, allocations: 23.92 kB / 472.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.734e-05/0.1238, allocations: 31.69 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.124, allocations: 96.09 kB / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.124, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.124, allocations: 0 / 472.4 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.124, allocations: 4 kB / 472.4 MB, free: 11.6 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.0005422/0.1246, allocations: 418.9 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.1246, allocations: 8.031 kB / 472.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.184e-05/0.1247, allocations: 12.75 kB / 472.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1249, allocations: 216.6 kB / 473 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1249, allocations: 4.375 kB / 473 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.269e-05/0.125, allocations: 8.125 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1251, allocations: 57.67 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.1252, allocations: 3.938 kB / 473.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.1252, allocations: 7.984 kB / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.1252, allocations: 0 / 473.1 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1253, allocations: 19.92 kB / 473.1 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.1257, allocations: 300.7 kB / 473.4 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001804/0.1258, allocations: 54.69 kB / 473.5 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.774e-05/0.1259, allocations: 20.84 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.423e-05/0.1259, allocations: 4 kB / 473.5 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.1262, allocations: 67.33 kB / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1262, allocations: 0 / 473.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005883/0.1268, allocations: 181.2 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.1268, allocations: 55.41 kB / 473.8 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.127, allocations: 222.7 kB / 474 MB, free: 9.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.1271, allocations: 25.7 kB / 474 MB, free: 9.746 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.327e-05/0.1271, allocations: 116 kB / 474.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.188e-05/0.1272, allocations: 27.59 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.745e-05/0.1272, allocations: 25.7 kB / 474.2 MB, free: 9.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1273, allocations: 334.8 kB / 474.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.042e-05/0.1274, allocations: 19.98 kB / 474.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.1275, allocations: 37.7 kB / 474.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1276, allocations: 57.72 kB / 474.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1276, allocations: 0 / 474.6 MB, free: 9.109 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001941/0.1278, allocations: 101.6 kB / 474.7 MB, free: 9.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1278, allocations: 8.031 kB / 474.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.1279, allocations: 0 / 474.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.1279, allocations: 0 / 474.7 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.963e-05/0.128, allocations: 19.94 kB / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.128, allocations: 3.984 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.327e-05/0.1281, allocations: 7.938 kB / 474.8 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1281, allocations: 4 kB / 474.8 MB, free: 8.961 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.000107/0.1282, allocations: 125.8 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.538e-05/0.1282, allocations: 15.81 kB / 474.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.721e-05/0.1283, allocations: 21.41 kB / 474.9 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.1283, allocations: 4.375 kB / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.1283, allocations: 0 / 474.9 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.1283, allocations: 7.922 kB / 474.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.1287, allocations: 399.3 kB / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.1288, allocations: 0 / 475.3 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.552e-05/0.1288, allocations: 8 kB / 475.3 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.1288, allocations: 3.984 kB / 475.4 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.1288, allocations: 15.91 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.1288, allocations: 3.984 kB / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1288, allocations: 0 / 475.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.1291, allocations: 204.2 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.109e-05/0.1291, allocations: 85.02 kB / 475.7 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.882e-05/0.1292, allocations: 7.938 kB / 475.7 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.1293, allocations: 4 kB / 475.7 MB, free: 7.969 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-05/0.1293, allocations: 11.98 kB / 475.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.1293, allocations: 4 kB / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001352/0.1295, allocations: 176.3 kB / 475.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1295, allocations: 0 / 475.9 MB, free: 7.781 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1297, allocations: 20.19 kB / 475.9 MB, free: 7.762 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 (8): * Single equations (assignments): 6 * 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.0011/0.1308, allocations: 472.4 kB / 476.3 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001871/0.131, allocations: 59.95 kB / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1311, allocations: 0 / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.002e-05/0.1311, allocations: 31.92 kB / 476.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.1315, allocations: 23.98 kB / 476.4 MB, free: 7.363 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.132, allocations: 314.3 kB / 476.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.1323, allocations: 0.72 MB / 477.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.1323, allocations: 11.44 kB / 477.5 MB, free: 6.262 MB / 350.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1324, allocations: 4 kB / 477.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of Templates: time 0.00377/0.1361, allocations: 1.957 MB / 479.4 MB, free: 4.305 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches