Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,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.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,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.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001149, allocations: 108.3 kB / 18.39 MB, free: 4.785 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.001071/0.001071, allocations: 191 kB / 19.33 MB, free: 3.852 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.333/1.333, allocations: 222.9 MB / 243 MB, free: 15.17 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.2155/0.2155, allocations: 44.19 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 67.19 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1162, allocations: 60.84 MB / 470.7 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002926/0.1191, allocations: 1.699 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.1205, allocations: 0.8847 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.659e-05/0.1205, allocations: 0 / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002733/0.1208, allocations: 51.75 kB / 473.3 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001907/0.121, allocations: 59.75 kB / 473.4 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1213, allocations: 110.5 kB / 473.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1215, allocations: 95.69 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.1216, allocations: 16.23 kB / 473.6 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.897e-05/0.1216, allocations: 39.78 kB / 473.7 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.1217, allocations: 31.84 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.693e-05/0.1217, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.713e-05/0.1218, allocations: 43.98 kB / 473.7 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.969e-05/0.1219, allocations: 19.92 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.838e-05/0.122, allocations: 51.59 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001935/0.1222, allocations: 131.6 kB / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1222, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1222, allocations: 0 / 473.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1222, allocations: 0 / 473.9 MB, free: 10.41 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.0005074/0.1227, allocations: 442.7 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1228, allocations: 8.031 kB / 474.4 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.897e-05/0.1228, allocations: 20.73 kB / 474.4 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1231, allocations: 220.5 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.1231, allocations: 4.375 kB / 474.6 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1231, allocations: 4.125 kB / 474.6 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.1233, allocations: 57.61 kB / 474.7 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1233, allocations: 4 kB / 474.7 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.1233, allocations: 4 kB / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-06/0.1233, allocations: 0 / 474.7 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/0.1234, allocations: 15.98 kB / 474.7 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.1237, allocations: 296.9 kB / 475 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1239, allocations: 58.62 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.124, allocations: 28.84 kB / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.124, allocations: 0 / 475.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.1241, allocations: 67.39 kB / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.1241, allocations: 0 / 475.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005103/0.1246, allocations: 181 kB / 475.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.1247, allocations: 55.41 kB / 475.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002225/0.1249, allocations: 270.3 kB / 475.6 MB, free: 8.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.125, allocations: 25.7 kB / 475.7 MB, free: 8.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.877e-05/0.125, allocations: 112.1 kB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.696e-05/0.125, allocations: 23.7 kB / 475.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.1251, allocations: 21.7 kB / 475.8 MB, free: 8.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.1252, allocations: 334.8 kB / 476.1 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.804e-05/0.1253, allocations: 23.92 kB / 476.2 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.513e-05/0.1253, allocations: 45.64 kB / 476.2 MB, free: 7.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000108/0.1255, allocations: 49.72 kB / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1255, allocations: 0 / 476.3 MB, free: 7.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001739/0.1256, allocations: 109.4 kB / 476.4 MB, free: 7.742 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.1257, allocations: 4 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1257, allocations: 4 kB / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1257, allocations: 0 / 476.4 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.329e-05/0.1258, allocations: 15.98 kB / 476.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.1258, allocations: 4.031 kB / 476.4 MB, free: 7.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1259, allocations: 7.938 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1259, allocations: 4 kB / 476.4 MB, free: 7.703 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.0001092/0.126, allocations: 137.7 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.126, allocations: 15.81 kB / 476.6 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.565e-05/0.1261, allocations: 21.58 kB / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1261, allocations: 0 / 476.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1261, allocations: 3.938 kB / 476.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1261, allocations: 11.94 kB / 476.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004105/0.1265, allocations: 403.3 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1265, allocations: 0 / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.221e-05/0.1266, allocations: 8 kB / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1266, allocations: 0 / 477 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.1266, allocations: 4.312 kB / 477 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1266, allocations: 4 kB / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1266, allocations: 0 / 477 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.1268, allocations: 212.4 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.1269, allocations: 92.91 kB / 477.3 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.91e-05/0.1269, allocations: 7.938 kB / 477.3 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.127, allocations: 4 kB / 477.3 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.306e-05/0.127, allocations: 11.97 kB / 477.3 MB, free: 6.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.127, allocations: 4 kB / 477.3 MB, free: 6.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00015/0.1272, allocations: 200.2 kB / 477.5 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1272, allocations: 4 kB / 477.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002617/0.1275, allocations: 20 kB / 477.5 MB, free: 6.457 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.0009796/0.1285, allocations: 467.5 kB / 478 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.1287, allocations: 63.91 kB / 478.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1287, allocations: 0 / 478.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.111e-05/0.1287, allocations: 31.92 kB / 478.1 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.0003278/0.1291, allocations: 29.59 kB / 478.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004623/0.1295, allocations: 275.7 kB / 478.4 MB, free: 5.754 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1298, allocations: 0.7237 MB / 479.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.1299, allocations: 9.203 kB / 479.1 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1299, allocations: 19.42 kB / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1299, allocations: 0 / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004242/0.1342, allocations: 1.739 MB / 480.9 MB, free: 3.25 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches