Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001155/0.001155, allocations: 103.6 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.1 MB / 344.1 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 70.47 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.1198, allocations: 62.45 MB / 480.1 MB, free: 5.172 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003336/0.1231, allocations: 1.611 MB / 481.7 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1243, allocations: 0.5299 MB / 482.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.059e-05/0.1245, allocations: 4 kB / 482.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.1248, allocations: 79.7 kB / 482.4 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003645/0.1252, allocations: 107.6 kB / 482.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.1255, allocations: 83.77 kB / 482.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1257, allocations: 83.81 kB / 482.6 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1258, allocations: 19.98 kB / 482.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.757e-05/0.1259, allocations: 35.84 kB / 482.7 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.126, allocations: 59.81 kB / 482.7 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.126, allocations: 4 kB / 482.7 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1262, allocations: 43.98 kB / 482.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.1262, allocations: 23.86 kB / 482.8 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.914e-05/0.1263, allocations: 31.73 kB / 482.8 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1265, allocations: 104 kB / 482.9 MB, free: 2.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1265, allocations: 4 kB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.358e-06/0.1265, allocations: 0 / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.1265, allocations: 3.938 kB / 482.9 MB, free: 2.34 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.0005408/0.1271, allocations: 414.9 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1271, allocations: 8.031 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.199e-05/0.1272, allocations: 34.75 kB / 483.4 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1272, allocations: 8.844 kB / 483.4 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002107/0.1274, allocations: 204.7 kB / 483.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1275, allocations: 384 / 483.6 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.557e-05/0.1275, allocations: 16.31 kB / 483.6 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.1277, allocations: 57.59 kB / 483.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.1277, allocations: 3.906 kB / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1277, allocations: 0 / 483.7 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.1277, allocations: 4 kB / 483.7 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.1278, allocations: 27.97 kB / 483.7 MB, free: 1.473 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.1282, allocations: 296.8 kB / 484 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1284, allocations: 42.5 kB / 484 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.341e-05/0.1284, allocations: 16.95 kB / 484.1 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.1285, allocations: 3.984 kB / 484.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.1285, allocations: 34.56 kB / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.1285, allocations: 0 / 484.1 MB, free: 1.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000975/0.1295, allocations: 233.4 kB / 484.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1295, allocations: 51.41 kB / 484.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1298, allocations: 222.2 kB / 484.6 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1298, allocations: 29.64 kB / 484.6 MB, free: 468 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.1299, allocations: 112.1 kB / 484.7 MB, free: 352 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.207e-05/0.1299, allocations: 27.61 kB / 484.8 MB, free: 324 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.136e-05/0.1299, allocations: 21.72 kB / 484.8 MB, free: 296 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1301, allocations: 326.8 kB / 485.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.289e-05/0.1302, allocations: 19.98 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.444e-05/0.1303, allocations: 27.97 kB / 485.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1304, allocations: 64.84 kB / 485.2 MB, free: 15.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.065e-06/0.1305, allocations: 3.984 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002346/0.1307, allocations: 93.56 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1307, allocations: 8 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1307, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1308, allocations: 0 / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.1309, allocations: 19.92 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1309, allocations: 3.938 kB / 485.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.1309, allocations: 15.98 kB / 485.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1309, allocations: 4 kB / 485.4 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 9.383e-05/0.131, allocations: 117.8 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.1311, allocations: 15.81 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002746/0.1314, allocations: 127.2 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.1314, allocations: 0 / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1314, allocations: 3.938 kB / 485.6 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1314, allocations: 11.98 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.132, allocations: 399.3 kB / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.132, allocations: 0 / 486 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.589e-05/0.1321, allocations: 23.86 kB / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.1321, allocations: 0 / 486 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1321, allocations: 8 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1321, allocations: 4.031 kB / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1321, allocations: 0 / 486 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1324, allocations: 204.1 kB / 486.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.536e-05/0.1324, allocations: 88.95 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.1324, allocations: 4 kB / 486.3 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.903e-05/0.1325, allocations: 12 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1326, allocations: 11.92 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.893e-06/0.1326, allocations: 4 kB / 486.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1327, allocations: 156.2 kB / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1327, allocations: 0 / 486.5 MB, free: 14.42 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002892/0.133, allocations: 23.98 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.001442/0.1345, allocations: 1.091 MB / 487.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.1347, allocations: 63.95 kB / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1347, allocations: 0 / 487.7 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.275e-05/0.1348, allocations: 39.91 kB / 487.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.1352, allocations: 15 kB / 487.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.137, allocations: 1.662 MB / 489.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.1373, allocations: 0.7118 MB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.742e-05/0.1373, allocations: 8.656 kB / 490.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.326e-05/0.1374, allocations: 39.42 kB / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1374, allocations: 0 / 490.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.1576, allocations: 3.017 MB / 493.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/7.874, allocations: 8.891 kB / 493.2 MB, free: 7.828 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_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_Test30.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches