Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 93.38 kB / 18.01 MB, free: 5.738 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.001075/0.001075, allocations: 176.8 kB / 18.91 MB, free: 4.871 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.431/1.431, allocations: 223.3 MB / 243 MB, free: 14.38 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.2173/0.2173, allocations: 44.24 MB / 338.3 MB, free: 2.441 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 13.52 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.115, allocations: 61.93 MB / 472.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.002608/0.1176, allocations: 1.417 MB / 474.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001821/0.1195, allocations: 0.846 MB / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.477e-05/0.1196, allocations: 0 / 475.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003448/0.1199, allocations: 47.86 kB / 475.2 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002556/0.1202, allocations: 59.81 kB / 475.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004231/0.1206, allocations: 95.75 kB / 475.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.1209, allocations: 95.7 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.121, allocations: 8.219 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001199/0.1211, allocations: 39.8 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001021/0.1213, allocations: 39.78 kB / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.1213, allocations: 0 / 475.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001449/0.1214, allocations: 39.98 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.267e-05/0.1215, allocations: 27.91 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.796e-05/0.1216, allocations: 73.31 kB / 475.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1219, allocations: 100.1 kB / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1219, allocations: 0 / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1219, allocations: 0 / 475.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.1219, allocations: 0 / 475.8 MB, free: 10.43 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.0006563/0.1226, allocations: 426.8 kB / 476.2 MB, free: 9.961 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.1226, allocations: 8.031 kB / 476.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.766e-05/0.1227, allocations: 16.75 kB / 476.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000304/0.123, allocations: 217 kB / 476.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.123, allocations: 8.375 kB / 476.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.64e-05/0.1231, allocations: 4.125 kB / 476.5 MB, free: 9.672 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.1233, allocations: 57.61 kB / 476.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1233, allocations: 0 / 476.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.1233, allocations: 8 kB / 476.5 MB, free: 9.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1233, allocations: 4 kB / 476.5 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.1234, allocations: 19.92 kB / 476.6 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.1239, allocations: 296.9 kB / 476.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.1241, allocations: 54.69 kB / 476.9 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.533e-05/0.1242, allocations: 20.84 kB / 476.9 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.026e-05/0.1242, allocations: 4 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002025/0.1244, allocations: 75.33 kB / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1244, allocations: 0 / 477 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006911/0.1251, allocations: 189 kB / 477.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.1252, allocations: 51.41 kB / 477.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.1256, allocations: 271.8 kB / 477.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.114e-05/0.1256, allocations: 29.7 kB / 477.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.731e-05/0.1257, allocations: 120.1 kB / 477.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.1258, allocations: 27.64 kB / 477.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.1258, allocations: 13.72 kB / 477.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.126, allocations: 330.8 kB / 478 MB, free: 8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.46e-05/0.1261, allocations: 23.98 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.254e-05/0.1262, allocations: 33.7 kB / 478.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1264, allocations: 69.62 kB / 478.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1264, allocations: 0 / 478.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002777/0.1267, allocations: 101.5 kB / 478.2 MB, free: 7.758 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.1267, allocations: 4 kB / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1267, allocations: 0 / 478.2 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1267, allocations: 3.938 kB / 478.2 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.1269, allocations: 19.98 kB / 478.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.1269, allocations: 0 / 478.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.542e-05/0.127, allocations: 7.969 kB / 478.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.127, allocations: 8 kB / 478.3 MB, free: 7.715 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.0001447/0.1271, allocations: 133.8 kB / 478.4 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.338e-05/0.1272, allocations: 15.81 kB / 478.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.65e-05/0.1272, allocations: 21.39 kB / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1273, allocations: 0 / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.1273, allocations: 0 / 478.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.1273, allocations: 11.88 kB / 478.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.1279, allocations: 411.5 kB / 478.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.1279, allocations: 0 / 478.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.923e-05/0.128, allocations: 11.94 kB / 478.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.128, allocations: 0 / 478.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.128, allocations: 12.3 kB / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.128, allocations: 0 / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.128, allocations: 4 kB / 478.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.1284, allocations: 204.2 kB / 479.1 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.773e-05/0.1284, allocations: 92.92 kB / 479.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.338e-05/0.1285, allocations: 7.922 kB / 479.2 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.1286, allocations: 8 kB / 479.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.19e-05/0.1287, allocations: 0 / 479.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-05/0.1287, allocations: 11.97 kB / 479.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002585/0.1289, allocations: 205.5 kB / 479.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.129, allocations: 192 / 479.4 MB, free: 6.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004148/0.1294, allocations: 31.92 kB / 479.4 MB, free: 6.453 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.001566/0.131, allocations: 466.5 kB / 479.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002364/0.1312, allocations: 55.97 kB / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.1312, allocations: 0 / 479.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.431e-05/0.1313, allocations: 35.92 kB / 480 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.1317, allocations: 27.97 kB / 480 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005005/0.1322, allocations: 348.7 kB / 480.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002746/0.1325, allocations: 0.7239 MB / 481.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.504e-05/0.1325, allocations: 19.38 kB / 481.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1325, allocations: 0 / 481.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of Templates: time 0.005008/0.1375, allocations: 2.063 MB / 483.1 MB, free: 2.859 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches