Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19",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.001054/0.001054, allocations: 107 kB / 17.33 MB, free: 6.023 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.001022/0.001022, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.351/1.351, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2212/0.2212, allocations: 44.17 MB / 336.2 MB, free: 2.934 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 61.03 kB / 408 MB, free: 27.49 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1142, allocations: 60.84 MB / 468.8 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.003261/0.1175, allocations: 1.909 MB / 470.7 MB, free: 12.69 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001535/0.119, allocations: 0.9085 MB / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.934e-05/0.1191, allocations: 0 / 471.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004713/0.1196, allocations: 255.4 kB / 471.9 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.12, allocations: 171.5 kB / 472.1 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.1213, allocations: 0.6067 MB / 472.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003394/0.1216, allocations: 283.2 kB / 472.9 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1218, allocations: 56.31 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.1219, allocations: 123.5 kB / 473.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002122/0.1221, allocations: 183.4 kB / 473.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.788e-05/0.1222, allocations: 8 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.1223, allocations: 55.91 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.1224, allocations: 87.69 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.175e-05/0.1225, allocations: 111.1 kB / 473.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.1228, allocations: 278.9 kB / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1228, allocations: 0 / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1228, allocations: 0 / 473.8 MB, free: 9.602 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.852e-06/0.1228, allocations: 0 / 473.8 MB, free: 9.602 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007392/0.1236, allocations: 0.63 MB / 474.5 MB, free: 8.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.1236, allocations: 8.031 kB / 474.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.671e-05/0.1237, allocations: 38.75 kB / 474.5 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.604e-05/0.1238, allocations: 36.47 kB / 474.5 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.1241, allocations: 326.1 kB / 474.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.1241, allocations: 4.375 kB / 474.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1241, allocations: 4.375 kB / 474.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002269/0.1244, allocations: 101.5 kB / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.1244, allocations: 0 / 475 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.1244, allocations: 4 kB / 475 MB, free: 8.359 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.1244, allocations: 3.984 kB / 475 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001602/0.1246, allocations: 71.95 kB / 475 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006135/0.1252, allocations: 468.4 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.1254, allocations: 66.55 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.1255, allocations: 36.91 kB / 475.6 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.834e-05/0.1255, allocations: 11.97 kB / 475.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.1255, allocations: 34.56 kB / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1255, allocations: 0 / 475.6 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000361/0.1259, allocations: 157.1 kB / 475.8 MB, free: 7.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.944e-05/0.126, allocations: 55.34 kB / 475.9 MB, free: 7.383 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005671/0.1265, allocations: 0.5487 MB / 476.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.491e-05/0.1266, allocations: 25.7 kB / 476.4 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1267, allocations: 196.1 kB / 476.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.356e-05/0.1267, allocations: 27.64 kB / 476.6 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.906e-05/0.1268, allocations: 25.66 kB / 476.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1269, allocations: 350.8 kB / 477 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.671e-05/0.127, allocations: 23.98 kB / 477 MB, free: 6.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.893e-05/0.1271, allocations: 27.97 kB / 477.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.1272, allocations: 68.83 kB / 477.1 MB, free: 6.066 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1272, allocations: 3.938 kB / 477.1 MB, free: 6.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002038/0.1274, allocations: 117.3 kB / 477.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1274, allocations: 12 kB / 477.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1275, allocations: 0 / 477.3 MB, free: 5.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1275, allocations: 7.922 kB / 477.3 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.1276, allocations: 8 kB / 477.3 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1276, allocations: 7.984 kB / 477.3 MB, free: 5.906 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.263e-05/0.1277, allocations: 12.33 kB / 477.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-06/0.1277, allocations: 0 / 477.3 MB, free: 5.895 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 (6): * Single equations (assignments): 6 * 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.0001694/0.1278, allocations: 173.8 kB / 477.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.188e-05/0.1279, allocations: 35.53 kB / 477.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.1282, allocations: 148.9 kB / 477.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1282, allocations: 7.938 kB / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1282, allocations: 0 / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1282, allocations: 0 / 477.7 MB, free: 5.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002934/0.1285, allocations: 289.5 kB / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1285, allocations: 0 / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-05/0.1286, allocations: 15.98 kB / 478 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1286, allocations: 0 / 478 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1286, allocations: 4 kB / 478 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1286, allocations: 3.938 kB / 478 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1286, allocations: 0 / 478 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1289, allocations: 227 kB / 478.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.542e-05/0.129, allocations: 116.6 kB / 478.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.129, allocations: 3.984 kB / 478.3 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.133e-05/0.1291, allocations: 11.94 kB / 478.3 MB, free: 4.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.987e-05/0.1292, allocations: 8 kB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.1292, allocations: 3.938 kB / 478.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004449/0.1296, allocations: 419 kB / 478.7 MB, free: 4.359 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1297, allocations: 4 kB / 478.7 MB, free: 4.355 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002908/0.13, allocations: 35.98 kB / 478.8 MB, free: 4.32 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 (6): * Single equations (assignments): 6 * 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.001912/0.1319, allocations: 1.249 MB / 480 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1321, allocations: 67.95 kB / 480.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.1321, allocations: 0 / 480.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.713e-05/0.1322, allocations: 39.86 kB / 480.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005914/0.1328, allocations: 74.38 kB / 480.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003594/0.1364, allocations: 2.914 MB / 483.1 MB, free: 140 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/0.1369, allocations: 0.806 MB / 483.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001425/0.1371, allocations: 49.48 kB / 484 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.1373, allocations: 99.39 kB / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1373, allocations: 0 / 484.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02012/0.1574, allocations: 6.407 MB / 490.5 MB, free: 8.863 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.1576, allocations: 232.3 kB / 490.7 MB, free: 8.613 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.118/2.276, allocations: 0 / 490.7 MB, free: 8.613 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test19.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches