Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 105.5 kB / 17.63 MB, free: 5.344 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.001692/0.001692, allocations: 192 kB / 18.56 MB, free: 4.434 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.425/1.425, allocations: 222.9 MB / 242.3 MB, free: 15.16 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.2142/0.2142, allocations: 44.18 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 69.02 kB / 408.5 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.116, allocations: 60.82 MB / 469.4 MB, free: 14.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003248/0.1193, allocations: 1.572 MB / 470.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007452/0.1201, allocations: 431.1 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.113e-05/0.1201, allocations: 0 / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005119/0.1206, allocations: 451.1 kB / 471.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.121, allocations: 251.5 kB / 472 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1214, allocations: 166.5 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002318/0.1217, allocations: 155.8 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.437e-05/0.1218, allocations: 15.98 kB / 472.4 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001401/0.1219, allocations: 107.7 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.1221, allocations: 207.6 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.1222, allocations: 8 kB / 472.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.773e-05/0.1222, allocations: 20 kB / 472.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.422e-05/0.1223, allocations: 79.69 kB / 472.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.958e-05/0.1224, allocations: 103 kB / 472.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.1227, allocations: 243.3 kB / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1227, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1227, allocations: 0 / 473.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1227, allocations: 3.938 kB / 473.1 MB, free: 10.48 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.000671/0.1234, allocations: 0.6335 MB / 473.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.1235, allocations: 16.03 kB / 473.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.197e-05/0.1235, allocations: 30.75 kB / 473.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.1236, allocations: 40.47 kB / 473.8 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.1238, allocations: 304.1 kB / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.1238, allocations: 384 / 474.1 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1239, allocations: 12.36 kB / 474.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.124, allocations: 49.62 kB / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.124, allocations: 0 / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.124, allocations: 0 / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.124, allocations: 0 / 474.2 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.624e-05/0.1241, allocations: 39.92 kB / 474.2 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004666/0.1246, allocations: 384.7 kB / 474.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.972e-05/0.1247, allocations: 30.56 kB / 474.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.6e-05/0.1248, allocations: 16.92 kB / 474.7 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1248, allocations: 4 kB / 474.7 MB, free: 8.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1248, allocations: 34.5 kB / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1248, allocations: 0 / 474.7 MB, free: 8.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002615/0.1251, allocations: 101.2 kB / 474.8 MB, free: 8.621 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.1252, allocations: 51.41 kB / 474.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008127/0.126, allocations: 0.8614 MB / 475.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.278e-05/0.126, allocations: 25.7 kB / 475.7 MB, free: 7.656 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001561/0.1262, allocations: 236.1 kB / 476 MB, free: 7.422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.1262, allocations: 3.938 kB / 476 MB, free: 7.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1262, allocations: 17.72 kB / 476 MB, free: 7.395 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1264, allocations: 362.7 kB / 476.3 MB, free: 7.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.176e-05/0.1264, allocations: 4 kB / 476.3 MB, free: 7.027 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.779e-05/0.1265, allocations: 19.92 kB / 476.4 MB, free: 7.008 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.71e-05/0.1265, allocations: 28.91 kB / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1266, allocations: 0 / 476.4 MB, free: 6.977 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001451/0.1267, allocations: 93.12 kB / 476.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.1267, allocations: 4 kB / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1267, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/0.1267, allocations: 0 / 476.5 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.067e-05/0.1268, allocations: 7.984 kB / 476.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1268, allocations: 0 / 476.5 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.769e-05/0.1269, allocations: 4 kB / 476.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1269, allocations: 4.031 kB / 476.5 MB, free: 6.859 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 (2): * Single equations (assignments): 2 * 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.0001711/0.1271, allocations: 217.7 kB / 476.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.355e-05/0.1271, allocations: 47.38 kB / 476.8 MB, free: 6.59 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001964/0.1273, allocations: 112.6 kB / 476.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.1274, allocations: 3.938 kB / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.1274, allocations: 0 / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.554e-06/0.1274, allocations: 0 / 476.9 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1276, allocations: 285.5 kB / 477.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1276, allocations: 4.031 kB / 477.2 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.591e-05/0.1277, allocations: 7.984 kB / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1277, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-06/0.1277, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1277, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1277, allocations: 0 / 477.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1279, allocations: 198.8 kB / 477.4 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.444e-05/0.128, allocations: 108.7 kB / 477.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.683e-05/0.128, allocations: 4 kB / 477.5 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.247e-05/0.1281, allocations: 3.984 kB / 477.5 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.1281, allocations: 4 kB / 477.5 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.062e-06/0.1281, allocations: 8 kB / 477.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005921/0.1287, allocations: 0.6472 MB / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1287, allocations: 0 / 478.1 MB, free: 5.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.129, allocations: 23.92 kB / 478.2 MB, free: 5.102 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 (2): * Single equations (assignments): 2 * 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.001181/0.1302, allocations: 0.9735 MB / 479.1 MB, free: 4.234 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001431/0.1303, allocations: 27.92 kB / 479.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1304, allocations: 0 / 479.2 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.1304, allocations: 15.98 kB / 479.2 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1308, allocations: 26.3 kB / 479.2 MB, free: 4.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.1342, allocations: 3.181 MB / 482.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.1347, allocations: 0.8221 MB / 483.2 MB, free: 44 kB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.283e-05/0.1347, allocations: 12.06 kB / 483.2 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001464/0.1349, allocations: 115.5 kB / 483.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of SimCode: time 5.52e-07/0.1349, allocations: 0 / 483.3 MB, free: 15.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02485/0.1598, allocations: 5.604 MB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.562/7.722, allocations: 14.91 kB / 488.9 MB, free: 10.38 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches