Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") translateModel(ModelicaTest.Tables.CombiTimeTable.Test51,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001654/0.001654, allocations: 105.6 kB / 17.03 MB, free: 6.098 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.002057/0.002057, allocations: 196.1 kB / 17.96 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.1 MB / 223.8 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2144/0.2144, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 67.92 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1223, allocations: 57.79 MB / 442 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002795/0.1251, allocations: 1.697 MB / 443.7 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1262, allocations: 0.7961 MB / 444.5 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.799e-05/0.1263, allocations: 4 kB / 444.5 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002942/0.1266, allocations: 47.81 kB / 444.5 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.1268, allocations: 63.69 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.127, allocations: 79.77 kB / 444.7 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.1272, allocations: 99.69 kB / 444.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1273, allocations: 8.234 kB / 444.8 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.074e-05/0.1274, allocations: 43.78 kB / 444.8 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.288e-05/0.1275, allocations: 31.84 kB / 444.8 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1275, allocations: 4 kB / 444.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.575e-05/0.1276, allocations: 47.91 kB / 444.9 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.373e-05/0.1277, allocations: 23.92 kB / 444.9 MB, free: 3.168 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.751e-05/0.1277, allocations: 35.75 kB / 444.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002039/0.128, allocations: 119.6 kB / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.128, allocations: 0 / 445.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.128, allocations: 4 kB / 445.1 MB, free: 3.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.128, allocations: 0 / 445.1 MB, free: 3.012 MB / 318.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.0004781/0.1285, allocations: 422.8 kB / 445.5 MB, free: 2.551 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.1285, allocations: 11.89 kB / 445.5 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.031e-05/0.1286, allocations: 12.84 kB / 445.5 MB, free: 2.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.1288, allocations: 227.8 kB / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.1288, allocations: 384 / 445.7 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.1288, allocations: 8.125 kB / 445.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.129, allocations: 57.67 kB / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.129, allocations: 0 / 445.8 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.129, allocations: 3.984 kB / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.129, allocations: 0 / 445.8 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.82e-05/0.1291, allocations: 23.97 kB / 445.8 MB, free: 2.168 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003087/0.1294, allocations: 292.8 kB / 446.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.1296, allocations: 54.69 kB / 446.2 MB, free: 1.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.628e-05/0.1296, allocations: 24.84 kB / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.1297, allocations: 0 / 446.2 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001233/0.1298, allocations: 67.33 kB / 446.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1298, allocations: 4 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004747/0.1303, allocations: 177.1 kB / 446.4 MB, free: 1.48 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.257e-05/0.1303, allocations: 59.34 kB / 446.5 MB, free: 1.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1305, allocations: 226.6 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.028e-05/0.1305, allocations: 29.7 kB / 446.7 MB, free: 1.141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1305, allocations: 108.1 kB / 446.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.1306, allocations: 23.66 kB / 446.9 MB, free: 1.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.1306, allocations: 25.7 kB / 446.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.734e-05/0.1306, allocations: 326.8 kB / 447.2 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.1307, allocations: 27.98 kB / 447.2 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.033e-05/0.1308, allocations: 33.7 kB / 447.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.1309, allocations: 58.03 kB / 447.3 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.1309, allocations: 4 kB / 447.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001447/0.131, allocations: 97.48 kB / 447.4 MB, free: 424 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.131, allocations: 4 kB / 447.4 MB, free: 420 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.131, allocations: 8.031 kB / 447.4 MB, free: 412 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1311, allocations: 4 kB / 447.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.838e-05/0.1311, allocations: 15.94 kB / 447.5 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1312, allocations: 3.984 kB / 447.5 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.199e-05/0.1312, allocations: 11.94 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1312, allocations: 4 kB / 447.5 MB, free: 372 kB / 318.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 6.367e-05/0.1313, allocations: 129.8 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1313, allocations: 11.91 kB / 447.6 MB, free: 220 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.269e-05/0.1314, allocations: 21.34 kB / 447.6 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1314, allocations: 4 kB / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1314, allocations: 0 / 447.6 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1314, allocations: 7.922 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.1318, allocations: 399.2 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1318, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-05/0.1318, allocations: 8 kB / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1318, allocations: 0 / 448 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.1319, allocations: 7.922 kB / 448 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1319, allocations: 4 kB / 448.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1319, allocations: 7.969 kB / 448.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1321, allocations: 200.5 kB / 448.3 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.816e-05/0.1322, allocations: 88.92 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.297e-05/0.1322, allocations: 3.938 kB / 448.3 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.1323, allocations: 8.188 kB / 448.4 MB, free: 15.37 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.962e-05/0.1323, allocations: 11.98 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.1323, allocations: 3.938 kB / 448.4 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.1325, allocations: 171.2 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1325, allocations: 0 / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002662/0.1327, allocations: 20 kB / 448.6 MB, free: 15.17 MB / 334.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.001047/0.1338, allocations: 472.3 kB / 449 MB, free: 14.79 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001712/0.134, allocations: 59.97 kB / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.134, allocations: 0 / 449.1 MB, free: 14.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.1341, allocations: 31.92 kB / 449.1 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.1344, allocations: 27.92 kB / 449.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.1348, allocations: 251.2 kB / 449.4 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003/0.1352, allocations: 0.708 MB / 450.1 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.56e-05/0.1352, allocations: 17.19 kB / 450.1 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1353, allocations: 19.44 kB / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1353, allocations: 0 / 450.1 MB, free: 13.63 MB / 334.1 MB Notification: Performance of Templates: time 0.004502/0.1398, allocations: 1.709 MB / 451.8 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test51/Test51.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test51.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches