Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 98.88 kB / 16.27 MB, free: 5.961 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.001382/0.001382, allocations: 193.8 kB / 17.2 MB, free: 5.598 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.788/1.788, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2396/0.2396, allocations: 43.53 MB / 313.9 MB, free: 0.5312 MB / 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.002139/0.00214, allocations: 77.02 kB / 382.7 MB, free: 56.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.134, allocations: 57.78 MB / 440.5 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003498/0.1375, allocations: 1.693 MB / 442.2 MB, free: 5.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001374/0.139, allocations: 0.7922 MB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.1391, allocations: 4 kB / 443 MB, free: 4.402 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.1395, allocations: 51.77 kB / 443.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.1398, allocations: 51.75 kB / 443.1 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003378/0.1402, allocations: 83.72 kB / 443.2 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001963/0.1404, allocations: 99.67 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.1405, allocations: 12.52 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.1406, allocations: 39.8 kB / 443.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.016e-05/0.1407, allocations: 27.84 kB / 443.4 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.421e-05/0.1407, allocations: 4 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001359/0.1408, allocations: 43.98 kB / 443.4 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.627e-05/0.1409, allocations: 19.92 kB / 443.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.174e-05/0.141, allocations: 35.73 kB / 443.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002307/0.1412, allocations: 115.6 kB / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1412, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1413, allocations: 0 / 443.6 MB, free: 3.828 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1413, allocations: 4 kB / 443.6 MB, free: 3.824 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.0005276/0.1418, allocations: 414.9 kB / 444 MB, free: 3.371 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.1418, allocations: 19.83 kB / 444 MB, free: 3.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.1419, allocations: 12.84 kB / 444 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.1421, allocations: 208.7 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.1421, allocations: 384 / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.1422, allocations: 8.125 kB / 444.2 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.1423, allocations: 57.61 kB / 444.3 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.1424, allocations: 4 kB / 444.3 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.1424, allocations: 3.984 kB / 444.3 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1424, allocations: 4 kB / 444.3 MB, free: 3.016 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.59e-05/0.1425, allocations: 20 kB / 444.3 MB, free: 2.996 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003692/0.1428, allocations: 288.9 kB / 444.6 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.143, allocations: 54.61 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.1431, allocations: 32.84 kB / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.319e-05/0.1431, allocations: 0 / 444.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002158/0.1433, allocations: 59.39 kB / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1433, allocations: 0 / 444.8 MB, free: 2.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005229/0.1439, allocations: 185.1 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.1439, allocations: 55.41 kB / 445 MB, free: 2.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1441, allocations: 199.3 kB / 445.2 MB, free: 2.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.183e-05/0.1441, allocations: 29.7 kB / 445.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.1441, allocations: 108 kB / 445.3 MB, free: 1.895 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/0.1442, allocations: 19.75 kB / 445.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.1442, allocations: 25.7 kB / 445.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.629e-05/0.1443, allocations: 326.8 kB / 445.7 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.167e-05/0.1443, allocations: 20 kB / 445.7 MB, free: 1.496 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.461e-05/0.1444, allocations: 41.64 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.558e-05/0.1445, allocations: 57.7 kB / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1445, allocations: 0 / 445.8 MB, free: 1.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001589/0.1447, allocations: 109.4 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1447, allocations: 8 kB / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.1447, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.1447, allocations: 0 / 445.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.1448, allocations: 16.03 kB / 445.9 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.1448, allocations: 4 kB / 445.9 MB, free: 1.246 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.1449, allocations: 11.86 kB / 445.9 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.1449, allocations: 4 kB / 446 MB, free: 1.23 MB / 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 8.601e-05/0.145, allocations: 133.2 kB / 446.1 MB, free: 1.094 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.499e-05/0.145, allocations: 15.81 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/0.1451, allocations: 17.39 kB / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1451, allocations: 0 / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.1451, allocations: 0 / 446.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.1451, allocations: 11.94 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.1454, allocations: 387.3 kB / 446.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.1454, allocations: 4.375 kB / 446.5 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.751e-05/0.1455, allocations: 7.984 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1455, allocations: 8 kB / 446.5 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1455, allocations: 3.938 kB / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1455, allocations: 0 / 446.5 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.1455, allocations: 4 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.1457, allocations: 208.5 kB / 446.7 MB, free: 368 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.1457, allocations: 84.92 kB / 446.8 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.1458, allocations: 11.92 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.036e-05/0.1459, allocations: 4.188 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.1459, allocations: 4 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1459, allocations: 11.92 kB / 446.9 MB, free: 232 kB / 318.1 MB Notification: Performance of sorting global known variables: time 8.922e-05/0.146, allocations: 152.9 kB / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.146, allocations: 0 / 447 MB, free: 80 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002608/0.1463, allocations: 23.98 kB / 447 MB, free: 56 kB / 318.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.001103/0.1474, allocations: 462.8 kB / 447.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.1476, allocations: 63.91 kB / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1476, allocations: 0 / 447.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.362e-05/0.1477, allocations: 35.92 kB / 447.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.148, allocations: 19.98 kB / 447.6 MB, free: 15.57 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004947/0.1486, allocations: 231.4 kB / 447.8 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1489, allocations: 0.7002 MB / 448.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.889e-05/0.149, allocations: 25.17 kB / 448.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.149, allocations: 15.44 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.149, allocations: 0 / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of Templates: time 0.004796/0.1538, allocations: 1.697 MB / 450.3 MB, free: 12.86 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches