Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001622/0.00163, allocations: 100.2 kB / 15.98 MB, free: 6.34 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.001426/0.001426, allocations: 196.3 kB / 16.91 MB, free: 6.188 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.601/1.601, allocations: 205.1 MB / 222.8 MB, free: 12.45 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.2161/0.2161, allocations: 43.51 MB / 313.6 MB, free: 0.707 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.001314/0.001314, allocations: 63.59 kB / 382.2 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 57.79 MB / 440 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.003671/0.1273, allocations: 1.615 MB / 441.6 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.1287, allocations: 0.9186 MB / 442.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.799e-05/0.1288, allocations: 0 / 442.5 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.1291, allocations: 19.92 kB / 442.6 MB, free: 4.789 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000231/0.1294, allocations: 39.84 kB / 442.6 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.1296, allocations: 55.44 kB / 442.7 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1298, allocations: 59.83 kB / 442.7 MB, free: 4.641 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.1299, allocations: 23.92 kB / 442.7 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.001e-05/0.13, allocations: 19.88 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000133/0.1301, allocations: 27.89 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.632e-05/0.1302, allocations: 4 kB / 442.8 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1303, allocations: 51.92 kB / 442.8 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.876e-05/0.1303, allocations: 7.938 kB / 442.8 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.426e-05/0.1304, allocations: 27.84 kB / 442.9 MB, free: 4.48 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.1305, allocations: 83.78 kB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1305, allocations: 4 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1305, allocations: 0 / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.1306, allocations: 0 / 443 MB, free: 4.395 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004009/0.131, allocations: 378.5 kB / 443.3 MB, free: 3.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.131, allocations: 15.89 kB / 443.3 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.364e-05/0.1311, allocations: 8.922 kB / 443.3 MB, free: 3.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1312, allocations: 184.2 kB / 443.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1313, allocations: 4.375 kB / 443.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.1313, allocations: 8.25 kB / 443.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.1314, allocations: 71.52 kB / 443.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1315, allocations: 0 / 443.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.1315, allocations: 0 / 443.6 MB, free: 3.645 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1315, allocations: 4 kB / 443.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.938e-05/0.1316, allocations: 19.98 kB / 443.6 MB, free: 3.621 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002673/0.1318, allocations: 272.8 kB / 443.9 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.132, allocations: 42.56 kB / 443.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.401e-05/0.1321, allocations: 20.94 kB / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.1321, allocations: 0 / 444 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.1321, allocations: 30.56 kB / 444 MB, free: 3.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.213e-06/0.1321, allocations: 0 / 444 MB, free: 3.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.000528/0.1327, allocations: 145.4 kB / 444.1 MB, free: 3.043 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.1327, allocations: 77.11 kB / 444.2 MB, free: 2.949 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.1328, allocations: 133.8 kB / 444.3 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.1329, allocations: 25.7 kB / 444.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.071e-05/0.1329, allocations: 92.05 kB / 444.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.1329, allocations: 15.8 kB / 444.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.133, allocations: 21.66 kB / 444.5 MB, free: 2.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.573e-05/0.133, allocations: 326.8 kB / 444.8 MB, free: 2.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.972e-05/0.1331, allocations: 15.98 kB / 444.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.1332, allocations: 41.69 kB / 444.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.1333, allocations: 40.84 kB / 444.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1333, allocations: 0 / 444.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001508/0.1334, allocations: 89.59 kB / 445 MB, free: 2.113 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1335, allocations: 4 kB / 445 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1335, allocations: 0 / 445 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1335, allocations: 0 / 445 MB, free: 2.109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.686e-05/0.1336, allocations: 12 kB / 445 MB, free: 2.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.1336, allocations: 3.984 kB / 445 MB, free: 2.094 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.788e-05/0.1336, allocations: 7.938 kB / 445 MB, free: 2.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.1336, allocations: 0 / 445 MB, free: 2.086 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.34e-05/0.1337, allocations: 129.7 kB / 445.1 MB, free: 1.949 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.1337, allocations: 4 kB / 445.2 MB, free: 1.945 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.134, allocations: 85.53 kB / 445.2 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.134, allocations: 7.938 kB / 445.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.134, allocations: 0 / 445.2 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.134, allocations: 3.984 kB / 445.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003169/0.1343, allocations: 346.7 kB / 445.6 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1343, allocations: 4.062 kB / 445.6 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.577e-05/0.1344, allocations: 15.98 kB / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1344, allocations: 0 / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/0.1344, allocations: 0 / 445.6 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1344, allocations: 3.938 kB / 445.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1344, allocations: 0 / 445.6 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001552/0.1346, allocations: 179.4 kB / 445.8 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.1346, allocations: 85.09 kB / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1346, allocations: 0 / 445.9 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.1347, allocations: 7.938 kB / 445.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.968e-05/0.1347, allocations: 7.984 kB / 445.9 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.1347, allocations: 4 kB / 445.9 MB, free: 1.113 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.92e-05/0.1348, allocations: 99.27 kB / 446 MB, free: 1.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1348, allocations: 4 kB / 446 MB, free: 1.012 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1351, allocations: 24 kB / 446 MB, free: 0.9883 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008792/0.1359, allocations: 443.6 kB / 446.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1361, allocations: 51.89 kB / 446.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1361, allocations: 4 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.1362, allocations: 23.98 kB / 446.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.1366, allocations: 15.28 kB / 446.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.1369, allocations: 169.5 kB / 446.7 MB, free: 360 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.1371, allocations: 0.6944 MB / 447.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.377e-05/0.1372, allocations: 15.97 kB / 447.4 MB, free: 15.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.1372, allocations: 11.44 kB / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1372, allocations: 0 / 447.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of Templates: time 0.003723/0.141, allocations: 1.331 MB / 448.8 MB, free: 14.28 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches