Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,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.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 105 kB / 16.27 MB, free: 6.391 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.00165/0.001651, allocations: 185.2 kB / 17.2 MB, free: 5.941 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.563/1.563, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.21/0.21, allocations: 43.53 MB / 313.9 MB, free: 0.5195 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.001558/0.001558, allocations: 71.08 kB / 382.7 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1249, allocations: 57.78 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003638/0.1286, allocations: 1.705 MB / 442.2 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1304, allocations: 1.406 MB / 443.6 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.614e-05/0.1305, allocations: 4 kB / 443.6 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.131, allocations: 35.78 kB / 443.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000239/0.1312, allocations: 55.75 kB / 443.7 MB, free: 3.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.1315, allocations: 87.72 kB / 443.8 MB, free: 3.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1317, allocations: 99.67 kB / 443.9 MB, free: 3.496 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1318, allocations: 8.516 kB / 443.9 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.922e-05/0.1319, allocations: 39.8 kB / 444 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001548/0.132, allocations: 39.83 kB / 444 MB, free: 3.41 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1321, allocations: 4 kB / 444 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001209/0.1322, allocations: 67.97 kB / 444.1 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.1323, allocations: 19.86 kB / 444.1 MB, free: 3.32 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.282e-05/0.1323, allocations: 31.8 kB / 444.1 MB, free: 3.289 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.1325, allocations: 115.7 kB / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1326, allocations: 0 / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.306e-06/0.1326, allocations: 0 / 444.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.1326, allocations: 7.938 kB / 444.2 MB, free: 3.168 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.0007305/0.1333, allocations: 403 kB / 444.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1334, allocations: 15.89 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.1335, allocations: 12.84 kB / 444.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.1338, allocations: 197.4 kB / 444.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.1338, allocations: 384 / 444.9 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.1338, allocations: 16.06 kB / 444.9 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00018/0.134, allocations: 67.39 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.134, allocations: 3.906 kB / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.435e-05/0.1341, allocations: 0 / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1341, allocations: 0 / 444.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.1341, allocations: 27.97 kB / 445 MB, free: 2.344 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003708/0.1345, allocations: 284.8 kB / 445.2 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001733/0.1347, allocations: 58.61 kB / 445.3 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.1348, allocations: 20.86 kB / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.1348, allocations: 0 / 445.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.135, allocations: 75.31 kB / 445.4 MB, free: 1.84 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1351, allocations: 3.938 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1356, allocations: 165.3 kB / 445.6 MB, free: 1.668 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.1357, allocations: 81.11 kB / 445.6 MB, free: 1.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1358, allocations: 152.9 kB / 445.8 MB, free: 1.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1358, allocations: 33.7 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.782e-05/0.1359, allocations: 100.1 kB / 445.9 MB, free: 1.273 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.1359, allocations: 19.66 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.136, allocations: 33.64 kB / 446 MB, free: 1.215 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.136, allocations: 322.8 kB / 446.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.1361, allocations: 23.98 kB / 446.3 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.1361, allocations: 38.56 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.746e-05/0.1363, allocations: 66.11 kB / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1363, allocations: 0 / 446.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001423/0.1364, allocations: 93.53 kB / 446.5 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.1364, allocations: 4 kB / 446.5 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1364, allocations: 8 kB / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.1365, allocations: 0 / 446.5 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.228e-05/0.1365, allocations: 15.98 kB / 446.5 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1366, allocations: 3.938 kB / 446.5 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1366, allocations: 19.88 kB / 446.6 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1366, allocations: 4 kB / 446.6 MB, free: 0.5977 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 7.2e-05/0.1367, allocations: 121.8 kB / 446.7 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.972e-05/0.1367, allocations: 7.906 kB / 446.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.1368, allocations: 12.72 kB / 446.7 MB, free: 452 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.1368, allocations: 4 kB / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1368, allocations: 0 / 446.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.1368, allocations: 7.922 kB / 446.7 MB, free: 440 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003876/0.1372, allocations: 391.4 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1372, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.139e-05/0.1372, allocations: 8 kB / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.1372, allocations: 0 / 447.1 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1373, allocations: 3.938 kB / 447.1 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.15e-06/0.1373, allocations: 7.984 kB / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1373, allocations: 0 / 447.1 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1375, allocations: 212.4 kB / 447.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.719e-05/0.1376, allocations: 81.2 kB / 447.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1376, allocations: 15.88 kB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.394e-05/0.1377, allocations: 3.938 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.473e-05/0.1378, allocations: 7.984 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1378, allocations: 4 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.696e-05/0.1379, allocations: 115.2 kB / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1379, allocations: 0 / 447.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002664/0.1382, allocations: 36 kB / 447.6 MB, free: 15.46 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.001216/0.1394, allocations: 0.4895 MB / 448.1 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.1396, allocations: 67.91 kB / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.1396, allocations: 0 / 448.1 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.242e-05/0.1397, allocations: 27.88 kB / 448.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.14, allocations: 31.91 kB / 448.2 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005328/0.1406, allocations: 207 kB / 448.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.141, allocations: 0.6924 MB / 449.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.286e-05/0.141, allocations: 21.17 kB / 449.1 MB, free: 13.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.195e-05/0.1411, allocations: 15.44 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1411, allocations: 7.938 kB / 449.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of Templates: time 0.005693/0.1468, allocations: 1.942 MB / 451.1 MB, free: 12.01 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches