Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001321, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001223/0.001223, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.345/1.345, allocations: 222.9 MB / 243 MB, free: 15.07 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.2052/0.2052, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 69.84 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1125, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.002953/0.1154, allocations: 1.702 MB / 472.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.1168, allocations: 0.8847 MB / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.768e-05/0.1169, allocations: 0 / 473.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002803/0.1172, allocations: 43.77 kB / 473.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1174, allocations: 55.75 kB / 473.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.1177, allocations: 110.9 kB / 473.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.1179, allocations: 95.69 kB / 473.6 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.118, allocations: 12.22 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.84e-05/0.1181, allocations: 47.77 kB / 473.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.906e-05/0.1182, allocations: 31.8 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1182, allocations: 4 kB / 473.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.1183, allocations: 43.97 kB / 473.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.469e-05/0.1184, allocations: 19.92 kB / 473.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.999e-05/0.1184, allocations: 31.75 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.1186, allocations: 119.6 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1186, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1186, allocations: 0 / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1186, allocations: 0 / 473.9 MB, free: 10.45 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.0005514/0.1192, allocations: 429.7 kB / 474.3 MB, free: 9.988 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1192, allocations: 8.031 kB / 474.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1193, allocations: 8.844 kB / 474.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.1196, allocations: 210.7 kB / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.1196, allocations: 384 / 474.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.1196, allocations: 8.125 kB / 474.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.1198, allocations: 57.67 kB / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.1198, allocations: 0 / 474.6 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1198, allocations: 4 kB / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1198, allocations: 0 / 474.6 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.737e-05/0.1199, allocations: 27.92 kB / 474.6 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000353/0.1203, allocations: 296.7 kB / 474.9 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1204, allocations: 46.69 kB / 475 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.1205, allocations: 32.84 kB / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1205, allocations: 0 / 475 MB, free: 9.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.1207, allocations: 63.33 kB / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1207, allocations: 0 / 475.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000517/0.1212, allocations: 181.1 kB / 475.2 MB, free: 8.941 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.1213, allocations: 51.41 kB / 475.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001967/0.1215, allocations: 199.3 kB / 475.5 MB, free: 8.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1215, allocations: 29.7 kB / 475.5 MB, free: 8.633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.1216, allocations: 104.1 kB / 475.6 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.1217, allocations: 23.7 kB / 475.6 MB, free: 8.504 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.1217, allocations: 25.7 kB / 475.7 MB, free: 8.473 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.1218, allocations: 326.8 kB / 476 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.1219, allocations: 20 kB / 476 MB, free: 8.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.734e-05/0.122, allocations: 37.7 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1221, allocations: 61.64 kB / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.81e-07/0.1221, allocations: 0 / 476.1 MB, free: 8.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001694/0.1223, allocations: 93.59 kB / 476.2 MB, free: 7.918 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1223, allocations: 11.98 kB / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.1223, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.1223, allocations: 0 / 476.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.1224, allocations: 19.88 kB / 476.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1224, allocations: 8.031 kB / 476.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.1225, allocations: 3.938 kB / 476.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1225, allocations: 7.984 kB / 476.2 MB, free: 7.867 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 9.563e-05/0.1226, allocations: 121.8 kB / 476.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1226, allocations: 15.81 kB / 476.4 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.1227, allocations: 17.39 kB / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1227, allocations: 0 / 476.4 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1227, allocations: 4.375 kB / 476.4 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1227, allocations: 3.938 kB / 476.4 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004136/0.1231, allocations: 391.3 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.1231, allocations: 8 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.372e-05/0.1232, allocations: 11.98 kB / 476.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1232, allocations: 3.938 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.1232, allocations: 8.109 kB / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1232, allocations: 0 / 476.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.1232, allocations: 7.938 kB / 476.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.1234, allocations: 208.5 kB / 477 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.126e-05/0.1235, allocations: 81.02 kB / 477.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/0.1235, allocations: 11.92 kB / 477.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.988e-05/0.1236, allocations: 4 kB / 477.1 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1237, allocations: 4 kB / 477.1 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.1237, allocations: 4 kB / 477.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001136/0.1238, allocations: 151.9 kB / 477.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1238, allocations: 4 kB / 477.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1241, allocations: 27.98 kB / 477.3 MB, free: 6.695 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.001059/0.1251, allocations: 457.7 kB / 477.8 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001627/0.1253, allocations: 63.95 kB / 477.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1253, allocations: 0 / 477.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.464e-05/0.1254, allocations: 27.94 kB / 477.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003172/0.1257, allocations: 31.91 kB / 477.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003962/0.1261, allocations: 231.1 kB / 478.1 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.1264, allocations: 0.712 MB / 478.8 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.377e-05/0.1265, allocations: 21.12 kB / 478.8 MB, free: 5.285 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.1265, allocations: 19.42 kB / 478.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1265, allocations: 0 / 478.9 MB, free: 5.266 MB / 350.1 MB Notification: Performance of Templates: time 0.004125/0.1306, allocations: 1.702 MB / 480.6 MB, free: 3.578 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches