Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008375/0.0008376, allocations: 93.97 kB / 18 MB, free: 5.602 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.0009461/0.0009464, allocations: 177.2 kB / 18.91 MB, free: 4.738 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.399/1.399, allocations: 223.3 MB / 242.9 MB, free: 32 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2027/0.2027, allocations: 44.25 MB / 338.3 MB, free: 2.621 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 8 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1209, allocations: 61.93 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.00213/0.1231, allocations: 1.27 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008641/0.124, allocations: 403.4 kB / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1241, allocations: 0 / 474.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002508/0.1243, allocations: 27.91 kB / 474.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001542/0.1245, allocations: 27.92 kB / 474.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003341/0.1248, allocations: 99.31 kB / 474.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.125, allocations: 55.78 kB / 474.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.1251, allocations: 19.97 kB / 474.8 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.822e-05/0.1252, allocations: 11.94 kB / 474.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.946e-05/0.1253, allocations: 19.86 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.1253, allocations: 4 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.1254, allocations: 24 kB / 474.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.1254, allocations: 19.91 kB / 474.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.1255, allocations: 41.58 kB / 474.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.1256, allocations: 63.84 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1257, allocations: 0 / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1257, allocations: 3.938 kB / 475 MB, free: 11.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.1257, allocations: 0 / 475 MB, free: 11.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005082/0.1262, allocations: 379.5 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.1263, allocations: 8.031 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.1263, allocations: 8.844 kB / 475.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.1265, allocations: 190.4 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1266, allocations: 384 / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.1266, allocations: 4.375 kB / 475.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.1268, allocations: 61.73 kB / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1268, allocations: 4 kB / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1268, allocations: 0 / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1268, allocations: 0 / 475.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.1269, allocations: 31.92 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.1274, allocations: 284.8 kB / 475.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.1276, allocations: 46.56 kB / 476 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.399e-05/0.1277, allocations: 20.94 kB / 476 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.1277, allocations: 7.938 kB / 476 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.1278, allocations: 34.5 kB / 476.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1278, allocations: 0 / 476.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006032/0.1284, allocations: 165.3 kB / 476.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1284, allocations: 59.39 kB / 476.3 MB, free: 9.773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1286, allocations: 165.8 kB / 476.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1286, allocations: 25.7 kB / 476.5 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1287, allocations: 96.05 kB / 476.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/0.1287, allocations: 19.73 kB / 476.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.539e-05/0.1288, allocations: 13.72 kB / 476.6 MB, free: 9.434 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.1289, allocations: 322.8 kB / 476.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.915e-05/0.129, allocations: 31.97 kB / 476.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.713e-05/0.129, allocations: 23.98 kB / 477 MB, free: 9.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.1292, allocations: 57.02 kB / 477 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1292, allocations: 0 / 477 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002055/0.1294, allocations: 97.52 kB / 477.1 MB, free: 8.895 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.804e-05/0.1294, allocations: 11.98 kB / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.1295, allocations: 0 / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.1295, allocations: 0 / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.637e-05/0.1295, allocations: 12 kB / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.1296, allocations: 0 / 477.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.335e-05/0.1296, allocations: 15.98 kB / 477.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.1296, allocations: 4 kB / 477.1 MB, free: 8.852 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 (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 8.889e-05/0.1297, allocations: 118.3 kB / 477.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.076e-05/0.1297, allocations: 7.906 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002576/0.13, allocations: 113.9 kB / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.13, allocations: 0 / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.13, allocations: 0 / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.13, allocations: 288 / 477.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004468/0.1305, allocations: 362.5 kB / 477.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1305, allocations: 4 kB / 477.7 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.011e-05/0.1306, allocations: 15.98 kB / 477.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1306, allocations: 3.984 kB / 477.8 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1306, allocations: 3.938 kB / 477.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.1306, allocations: 7.875 kB / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.1306, allocations: 0 / 477.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.1309, allocations: 199.6 kB / 478 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1309, allocations: 81.02 kB / 478 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.776e-05/0.1309, allocations: 8 kB / 478.1 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.215e-05/0.131, allocations: 11.92 kB / 478.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.1311, allocations: 4 kB / 478.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.1311, allocations: 4 kB / 478.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.943e-05/0.1312, allocations: 134 kB / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1312, allocations: 0 / 478.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1314, allocations: 11.98 kB / 478.2 MB, free: 7.68 MB / 350.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.0009816/0.1324, allocations: 399.2 kB / 478.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1327, allocations: 71.83 kB / 478.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1327, allocations: 0 / 478.7 MB, free: 7.371 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.1328, allocations: 27.98 kB / 478.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.1331, allocations: 11.98 kB / 478.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004358/0.1335, allocations: 251.4 kB / 479 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.1338, allocations: 0.7004 MB / 479.7 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.1339, allocations: 15.42 kB / 479.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1339, allocations: 0 / 479.7 MB, free: 6.309 MB / 350.1 MB Notification: Performance of Templates: time 0.003433/0.1373, allocations: 1.422 MB / 481.1 MB, free: 4.887 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches