Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00113/0.00113, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001391/0.001391, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.228/0.228, allocations: 46.1 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 77.94 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1142, allocations: 62.45 MB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003453/0.1177, allocations: 1.604 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001148/0.1189, allocations: 0.5455 MB / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.967e-05/0.119, allocations: 0 / 482.3 MB, free: 3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.1194, allocations: 71.77 kB / 482.3 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004361/0.1198, allocations: 107.6 kB / 482.5 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003526/0.1202, allocations: 99.19 kB / 482.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002104/0.1204, allocations: 71.89 kB / 482.6 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001323/0.1205, allocations: 19.98 kB / 482.6 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.744e-05/0.1206, allocations: 39.78 kB / 482.7 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.1208, allocations: 55.81 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1208, allocations: 4 kB / 482.7 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1209, allocations: 43.98 kB / 482.8 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.216e-05/0.121, allocations: 19.92 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.879e-05/0.1211, allocations: 35.73 kB / 482.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.1214, allocations: 104 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.1214, allocations: 3.938 kB / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1214, allocations: 0 / 482.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1214, allocations: 4 kB / 482.9 MB, free: 2.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007131/0.1221, allocations: 414.9 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/0.1222, allocations: 12.03 kB / 483.4 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.346e-05/0.1223, allocations: 34.75 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.132e-05/0.1223, allocations: 12.83 kB / 483.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003372/0.1227, allocations: 192.8 kB / 483.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.1227, allocations: 4.375 kB / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.1227, allocations: 384 / 483.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.1229, allocations: 65.59 kB / 483.7 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.1229, allocations: 7.906 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.123, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.123, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.1231, allocations: 31.91 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005323/0.1236, allocations: 296.7 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1238, allocations: 42.56 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.071e-05/0.1238, allocations: 20.94 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1239, allocations: 7.938 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.1239, allocations: 30.56 kB / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.1239, allocations: 0 / 484.1 MB, free: 1.012 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001048/0.125, allocations: 233.4 kB / 484.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.125, allocations: 51.41 kB / 484.4 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002513/0.1253, allocations: 219.5 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.1253, allocations: 29.7 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.003e-05/0.1254, allocations: 104.1 kB / 484.7 MB, free: 360 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.289e-05/0.1255, allocations: 35.67 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.1255, allocations: 21.72 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.1257, allocations: 322.8 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.1258, allocations: 31.97 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.1258, allocations: 19.98 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/0.126, allocations: 64.77 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.126, allocations: 0 / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002075/0.1262, allocations: 105.6 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.1263, allocations: 4 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1263, allocations: 0 / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1263, allocations: 0 / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1264, allocations: 19.98 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.1264, allocations: 3.938 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1265, allocations: 7.984 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1265, allocations: 0 / 485.3 MB, free: 15.7 MB / 366.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 (8): * Single equations (assignments): 8 * 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.0001084/0.1266, allocations: 137.8 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.1266, allocations: 11.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002856/0.1269, allocations: 123 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.127, allocations: 4 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.127, allocations: 3.938 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.127, allocations: 0 / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006798/0.1277, allocations: 403.7 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1277, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.162e-05/0.1278, allocations: 23.92 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.1278, allocations: 0 / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1278, allocations: 3.938 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1278, allocations: 0 / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.1278, allocations: 4.078 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.1282, allocations: 212.2 kB / 486.2 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.1282, allocations: 84.95 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.17e-05/0.1283, allocations: 7.938 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.745e-05/0.1284, allocations: 15.92 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1284, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1284, allocations: 8 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002177/0.1286, allocations: 163.2 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1286, allocations: 0 / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1289, allocations: 16 kB / 486.5 MB, free: 14.39 MB / 366.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 (8): * Single equations (assignments): 8 * 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.001653/0.1306, allocations: 1.084 MB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1308, allocations: 71.89 kB / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1308, allocations: 0 / 487.7 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.046e-05/0.1309, allocations: 39.91 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004029/0.1313, allocations: 18.98 kB / 487.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.1337, allocations: 1.656 MB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003956/0.1341, allocations: 0.7041 MB / 490.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.58e-05/0.1342, allocations: 20.95 kB / 490.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.319e-05/0.1343, allocations: 31.42 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1343, allocations: 0 / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.1576, allocations: 3.033 MB / 493.2 MB, free: 7.82 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.66, allocations: 1.078 kB / 493.2 MB, free: 7.82 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test34.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches