Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001433/0.001433, allocations: 191.9 kB / 18.56 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.2 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1952/0.1952, allocations: 44.19 MB / 336.6 MB, free: 2.77 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 56.03 kB / 408.4 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1174, allocations: 60.82 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002996/0.1205, allocations: 1.607 MB / 470.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007905/0.1213, allocations: 443.1 kB / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.822e-05/0.1214, allocations: 0 / 471.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002524/0.1216, allocations: 91.73 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1218, allocations: 67.73 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003567/0.1222, allocations: 119.7 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.1224, allocations: 87.81 kB / 471.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1226, allocations: 28.25 kB / 471.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.554e-05/0.1227, allocations: 39.91 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001177/0.1228, allocations: 59.81 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1228, allocations: 4 kB / 471.8 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.123, allocations: 51.92 kB / 471.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.811e-05/0.1231, allocations: 35.78 kB / 471.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.1231, allocations: 31.75 kB / 471.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002258/0.1233, allocations: 127.5 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1234, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1234, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.1234, allocations: 4 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004808/0.1239, allocations: 426.9 kB / 472.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.1239, allocations: 8.031 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.124, allocations: 16.75 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1242, allocations: 208 kB / 472.7 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.1242, allocations: 8.375 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.1242, allocations: 8.359 kB / 472.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1244, allocations: 73.8 kB / 472.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1244, allocations: 4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1244, allocations: 4 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.1244, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.1246, allocations: 47.95 kB / 472.8 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.125, allocations: 344.6 kB / 473.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1252, allocations: 58.56 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.105e-05/0.1252, allocations: 28.84 kB / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.1253, allocations: 0 / 473.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.571e-05/0.1253, allocations: 42.48 kB / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.1253, allocations: 0 / 473.3 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.00105/0.1264, allocations: 324.9 kB / 473.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1264, allocations: 55.41 kB / 473.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1266, allocations: 228 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1266, allocations: 25.7 kB / 473.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.1267, allocations: 116 kB / 474 MB, free: 9.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.643e-05/0.1268, allocations: 39.39 kB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.1268, allocations: 33.7 kB / 474.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.1269, allocations: 330.8 kB / 474.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.127, allocations: 43.97 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.1271, allocations: 50.72 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.1273, allocations: 108.8 kB / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1274, allocations: 0 / 474.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002712/0.1276, allocations: 153.5 kB / 474.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1277, allocations: 4 kB / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1277, allocations: 0 / 474.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1277, allocations: 7.938 kB / 474.8 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.1278, allocations: 31.97 kB / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1278, allocations: 0 / 474.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.476e-05/0.1279, allocations: 4 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1279, allocations: 15.88 kB / 474.8 MB, free: 8.586 MB / 350.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 (13): * Single equations (assignments): 13 * 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 0.0001049/0.128, allocations: 133.8 kB / 474.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1281, allocations: 19.81 kB / 475 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.1284, allocations: 192.3 kB / 475.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1284, allocations: 4 kB / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1285, allocations: 0 / 475.2 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.1285, allocations: 3.984 kB / 475.2 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.1291, allocations: 0.4989 MB / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1291, allocations: 0 / 475.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.979e-05/0.1292, allocations: 23.98 kB / 475.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.1292, allocations: 4 kB / 475.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1292, allocations: 7.984 kB / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1292, allocations: 0 / 475.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.1292, allocations: 7.984 kB / 475.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.1296, allocations: 256.1 kB / 476 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.1296, allocations: 89.02 kB / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.1296, allocations: 0 / 476 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.1297, allocations: 7.984 kB / 476 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.1298, allocations: 11.98 kB / 476.1 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.1298, allocations: 8 kB / 476.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001369/0.1299, allocations: 175.5 kB / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1299, allocations: 0 / 476.2 MB, free: 7.059 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002526/0.1302, allocations: 27.98 kB / 476.3 MB, free: 7.031 MB / 350.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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.0009739/0.1312, allocations: 467.7 kB / 476.7 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.1315, allocations: 115.9 kB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1315, allocations: 3.938 kB / 476.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.1316, allocations: 59.97 kB / 476.9 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.132, allocations: 19.92 kB / 476.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005605/0.1326, allocations: 319.8 kB / 477.2 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1329, allocations: 0.7158 MB / 477.9 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.098e-05/0.133, allocations: 28.52 kB / 478 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.133, allocations: 23.44 kB / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of SimCode: time 2.725e-06/0.133, allocations: 0 / 478 MB, free: 5.422 MB / 350.1 MB Notification: Performance of Templates: time 0.005132/0.1382, allocations: 1.588 MB / 479.6 MB, free: 3.848 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches