Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.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.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") translateModel(ModelicaTest.Tables.CombiTable1D.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 101 kB / 16.27 MB, free: 5.98 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.001311/0.001311, allocations: 188.5 kB / 17.2 MB, free: 5.613 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.767/1.767, allocations: 205.1 MB / 223.1 MB, free: 12.29 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.2837/0.2837, allocations: 43.52 MB / 313.9 MB, free: 0.5352 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.001535/0.001535, allocations: 67.52 kB / 382.7 MB, free: 56.74 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1247, allocations: 57.78 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test29): time 0.004081/0.1288, allocations: 1.574 MB / 442.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.1296, allocations: 331.5 kB / 442.4 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.314e-05/0.1297, allocations: 3.938 kB / 442.4 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004057/0.1301, allocations: 35.83 kB / 442.5 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002596/0.1304, allocations: 39.84 kB / 442.5 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.1307, allocations: 95.75 kB / 442.6 MB, free: 4.836 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002116/0.131, allocations: 63.89 kB / 442.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001538/0.1311, allocations: 28.09 kB / 442.7 MB, free: 4.746 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.703e-05/0.1312, allocations: 23.88 kB / 442.7 MB, free: 4.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.1313, allocations: 31.84 kB / 442.7 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.1314, allocations: 8 kB / 442.7 MB, free: 4.684 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.812e-05/0.1315, allocations: 35.91 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.638e-05/0.1315, allocations: 12 kB / 442.8 MB, free: 4.637 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.385e-05/0.1316, allocations: 27.8 kB / 442.8 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002055/0.1318, allocations: 91.7 kB / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1318, allocations: 0 / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1318, allocations: 0 / 442.9 MB, free: 4.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.1319, allocations: 0 / 442.9 MB, free: 4.52 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005917/0.1325, allocations: 387.1 kB / 443.3 MB, free: 4.094 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.1325, allocations: 15.89 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.1326, allocations: 12.84 kB / 443.3 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.1328, allocations: 192.1 kB / 443.5 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.1328, allocations: 8.375 kB / 443.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.371e-05/0.1329, allocations: 384 / 443.5 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.1331, allocations: 83.27 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.62e-05/0.1331, allocations: 0 / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1331, allocations: 0 / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1331, allocations: 4 kB / 443.6 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.1333, allocations: 47.84 kB / 443.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004421/0.1337, allocations: 385 kB / 444 MB, free: 3.258 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.134, allocations: 85.16 kB / 444.1 MB, free: 3.156 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.594e-05/0.1341, allocations: 29.8 kB / 444.1 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.1341, allocations: 8 kB / 444.1 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.004e-05/0.1341, allocations: 38.48 kB / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1341, allocations: 0 / 444.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007105/0.1349, allocations: 229.5 kB / 444.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.1349, allocations: 81.11 kB / 444.5 MB, free: 2.738 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.135, allocations: 157.5 kB / 444.6 MB, free: 2.578 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.828e-06/0.135, allocations: 29.64 kB / 444.7 MB, free: 2.543 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.108e-05/0.1351, allocations: 96.12 kB / 444.7 MB, free: 2.445 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.031e-05/0.1351, allocations: 35.45 kB / 444.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.1352, allocations: 29.72 kB / 444.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.651e-05/0.1352, allocations: 318.8 kB / 445.1 MB, free: 2.055 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.724e-05/0.1353, allocations: 27.98 kB / 445.2 MB, free: 2.027 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.717e-05/0.1354, allocations: 49.69 kB / 445.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1356, allocations: 85.8 kB / 445.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1356, allocations: 4 kB / 445.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002011/0.1358, allocations: 125.5 kB / 445.4 MB, free: 1.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.1358, allocations: 11.98 kB / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.1358, allocations: 0 / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.1358, allocations: 0 / 445.4 MB, free: 1.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.781e-05/0.1359, allocations: 23.92 kB / 445.4 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.1359, allocations: 3.938 kB / 445.4 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.878e-05/0.136, allocations: 4 kB / 445.5 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.136, allocations: 4 kB / 445.5 MB, free: 1.703 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: 0 () * 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.194e-05/0.1361, allocations: 133.8 kB / 445.6 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.1361, allocations: 7.906 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1364, allocations: 137.9 kB / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1364, allocations: 0 / 445.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.1364, allocations: 4.188 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1364, allocations: 7.938 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.1369, allocations: 0.4985 MB / 446.2 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.137, allocations: 3.938 kB / 446.2 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.137, allocations: 23.92 kB / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.137, allocations: 192 / 446.3 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.1371, allocations: 4 kB / 446.3 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1371, allocations: 3.969 kB / 446.3 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1371, allocations: 4 kB / 446.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.1373, allocations: 295.5 kB / 446.6 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.233e-05/0.1374, allocations: 88.95 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/0.1374, allocations: 7.984 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.1375, allocations: 8 kB / 446.7 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.502e-05/0.1376, allocations: 11.98 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-06/0.1376, allocations: 0 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of sorting global known variables: time 6.316e-05/0.1377, allocations: 123.2 kB / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1377, allocations: 0 / 446.8 MB, free: 252 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002824/0.1379, allocations: 16 kB / 446.8 MB, free: 236 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (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 Backend phase and start with SimCode phase: time 0.001046/0.139, allocations: 409.3 kB / 447.2 MB, free: 15.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002844/0.1393, allocations: 91.83 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1393, allocations: 0 / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001031/0.1394, allocations: 47.91 kB / 447.4 MB, free: 15.77 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005103/0.1399, allocations: 23.86 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.1405, allocations: 228.1 kB / 447.6 MB, free: 15.5 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.1409, allocations: 0.7041 MB / 448.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.221e-05/0.141, allocations: 24.41 kB / 448.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.141, allocations: 15.44 kB / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.141, allocations: 0 / 448.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of Templates: time 0.004424/0.1454, allocations: 1.274 MB / 449.6 MB, free: 13.46 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches