Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,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.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001236/0.001236, 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.001334/0.001334, 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.38/1.38, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2166/0.2166, allocations: 44.18 MB / 336.8 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 70.23 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 60.83 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002895/0.119, allocations: 1.753 MB / 470.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1204, allocations: 0.8653 MB / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.317e-05/0.1204, allocations: 0 / 471.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.1208, allocations: 79.77 kB / 471.9 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.121, allocations: 63.8 kB / 472 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1213, allocations: 91.83 kB / 472 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1215, allocations: 99.69 kB / 472.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1216, allocations: 24.22 kB / 472.2 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.407e-05/0.1217, allocations: 51.7 kB / 472.2 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.1218, allocations: 55.81 kB / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1218, allocations: 0 / 472.3 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.814e-05/0.1219, allocations: 39.98 kB / 472.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.122, allocations: 19.92 kB / 472.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.122, allocations: 31.69 kB / 472.4 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001546/0.1222, allocations: 92.09 kB / 472.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1222, allocations: 4 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.1222, allocations: 3.938 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.1222, allocations: 0 / 472.5 MB, free: 11.55 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.0005259/0.1228, allocations: 419 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.1228, allocations: 8.031 kB / 472.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.441e-05/0.1229, allocations: 12.84 kB / 472.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1231, allocations: 208 kB / 473.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.1231, allocations: 8.375 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.24e-05/0.1231, allocations: 4.125 kB / 473.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.1233, allocations: 65.61 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1233, allocations: 4 kB / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.1233, allocations: 0 / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1233, allocations: 0 / 473.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.992e-05/0.1234, allocations: 19.98 kB / 473.2 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1238, allocations: 284.8 kB / 473.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.124, allocations: 66.61 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.676e-05/0.124, allocations: 20.84 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.1241, allocations: 4 kB / 473.6 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002055/0.1243, allocations: 63.39 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.1243, allocations: 0 / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000575/0.1249, allocations: 181 kB / 473.8 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1249, allocations: 59.39 kB / 473.9 MB, free: 9.969 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.1251, allocations: 219.4 kB / 474.1 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.617e-05/0.1252, allocations: 25.7 kB / 474.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.115e-05/0.1252, allocations: 108.1 kB / 474.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.907e-05/0.1253, allocations: 23.66 kB / 474.2 MB, free: 9.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1253, allocations: 21.7 kB / 474.2 MB, free: 9.551 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.1254, allocations: 326.8 kB / 474.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.1255, allocations: 27.98 kB / 474.6 MB, free: 9.195 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.845e-05/0.1256, allocations: 37.64 kB / 474.6 MB, free: 9.152 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.1257, allocations: 57.72 kB / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1257, allocations: 0 / 474.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001874/0.1259, allocations: 101.6 kB / 474.8 MB, free: 8.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.1259, allocations: 8 kB / 474.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.126, allocations: 4.031 kB / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.126, allocations: 0 / 474.8 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9e-05/0.1261, allocations: 12 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.1261, allocations: 4 kB / 474.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.938e-05/0.1261, allocations: 11.92 kB / 474.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1261, allocations: 4 kB / 474.8 MB, free: 8.941 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.0001011/0.1263, allocations: 133.8 kB / 475 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.1263, allocations: 15.81 kB / 475 MB, free: 8.785 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1263, allocations: 17.41 kB / 475 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1263, allocations: 4 kB / 475 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1264, allocations: 384 / 475 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1264, allocations: 3.938 kB / 475 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004404/0.1268, allocations: 399.3 kB / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1268, allocations: 0 / 475.4 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1269, allocations: 8 kB / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1269, allocations: 0 / 475.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.1269, allocations: 8.125 kB / 475.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1269, allocations: 4.031 kB / 475.4 MB, free: 8.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1269, allocations: 3.938 kB / 475.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.1271, allocations: 212.1 kB / 475.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1272, allocations: 85.02 kB / 475.7 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.1272, allocations: 7.938 kB / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.964e-05/0.1273, allocations: 0 / 475.7 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.1274, allocations: 15.98 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.1274, allocations: 7.938 kB / 475.7 MB, free: 7.93 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001269/0.1275, allocations: 155.2 kB / 475.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1275, allocations: 0 / 475.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002583/0.1278, allocations: 20 kB / 475.9 MB, free: 7.758 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.001045/0.1288, allocations: 473.7 kB / 476.4 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001784/0.129, allocations: 55.92 kB / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.129, allocations: 0 / 476.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.48e-05/0.1291, allocations: 27.98 kB / 476.4 MB, free: 7.391 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003613/0.1295, allocations: 23.64 kB / 476.5 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.13, allocations: 310.7 kB / 476.8 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1303, allocations: 0.7122 MB / 477.5 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.78e-05/0.1303, allocations: 15.44 kB / 477.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1303, allocations: 0 / 477.5 MB, free: 6.277 MB / 350.1 MB Notification: Performance of Templates: time 0.003724/0.1341, allocations: 1.949 MB / 479.4 MB, free: 4.336 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches