Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001045/0.001045, allocations: 104.5 kB / 17.64 MB, free: 5.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001074/0.001074, allocations: 202.4 kB / 18.58 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.222/0.222, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 80.53 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1299, allocations: 62.45 MB / 480.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003667/0.1336, allocations: 1.72 MB / 481.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1356, allocations: 1.021 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.1357, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003796/0.1362, allocations: 43.77 kB / 482.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004075/0.1366, allocations: 91.61 kB / 483 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000269/0.1369, allocations: 79.66 kB / 483.1 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002023/0.1371, allocations: 103.7 kB / 483.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.1372, allocations: 4 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.285e-05/0.1373, allocations: 47.77 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.1374, allocations: 35.73 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.1374, allocations: 8 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1376, allocations: 47.97 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.406e-05/0.1376, allocations: 15.92 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.1377, allocations: 27.81 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000218/0.1379, allocations: 119.9 kB / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1379, allocations: 0 / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1379, allocations: 0 / 483.5 MB, free: 1.785 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1379, allocations: 0 / 483.5 MB, free: 1.785 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005568/0.1385, allocations: 414.9 kB / 483.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.1385, allocations: 8.031 kB / 483.9 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.445e-05/0.1386, allocations: 38.75 kB / 484 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.757e-05/0.1387, allocations: 12.75 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.1389, allocations: 212.1 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1389, allocations: 384 / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.568e-05/0.1389, allocations: 7.938 kB / 484.2 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.1391, allocations: 61.66 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.1391, allocations: 3.938 kB / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1391, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.1392, allocations: 0 / 484.2 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.134e-05/0.1392, allocations: 27.92 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004367/0.1397, allocations: 284.9 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1399, allocations: 54.69 kB / 484.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.572e-05/0.14, allocations: 20.84 kB / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.463e-05/0.14, allocations: 0 / 484.6 MB, free: 0.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.1402, allocations: 75.33 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/0.1403, allocations: 0 / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006504/0.1409, allocations: 169.2 kB / 484.9 MB, free: 248 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/0.141, allocations: 59.39 kB / 484.9 MB, free: 176 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1412, allocations: 183.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1412, allocations: 37.58 kB / 485.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1413, allocations: 104 kB / 485.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.1413, allocations: 27.64 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.955e-05/0.1414, allocations: 21.72 kB / 485.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.1415, allocations: 322.8 kB / 485.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.1416, allocations: 23.98 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.555e-05/0.1417, allocations: 33.7 kB / 485.7 MB, free: 15.39 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.1418, allocations: 65.64 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1418, allocations: 0 / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.142, allocations: 97.53 kB / 485.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.1421, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1421, allocations: 0 / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1421, allocations: 4 kB / 485.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.84e-05/0.1422, allocations: 15.98 kB / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1422, allocations: 0 / 485.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1423, allocations: 11.94 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.1423, allocations: 4.031 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001301/0.1424, allocations: 121.8 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.1425, allocations: 15.81 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.216e-05/0.1425, allocations: 13.41 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1425, allocations: 0 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1426, allocations: 384 / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.1426, allocations: 11.92 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000558/0.1431, allocations: 395.7 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.1432, allocations: 4 kB / 486.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.1432, allocations: 15.88 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.1432, allocations: 3.938 kB / 486.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.1432, allocations: 8 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.1432, allocations: 0 / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.1432, allocations: 3.984 kB / 486.4 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003137/0.1436, allocations: 200.3 kB / 486.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.292e-05/0.1436, allocations: 92.92 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.1437, allocations: 3.938 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.345e-05/0.1438, allocations: 4 kB / 486.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.559e-05/0.1438, allocations: 7.984 kB / 486.7 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.1439, allocations: 7.938 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.144, allocations: 143.9 kB / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.144, allocations: 0 / 486.9 MB, free: 14.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1443, allocations: 28 kB / 486.9 MB, free: 14.01 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001679/0.146, allocations: 1.085 MB / 488 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.1462, allocations: 59.91 kB / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.1462, allocations: 0 / 488.1 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.914e-05/0.1463, allocations: 31.92 kB / 488.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.1467, allocations: 31.34 kB / 488.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.149, allocations: 1.631 MB / 489.8 MB, free: 11.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1494, allocations: 0.7041 MB / 490.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.835e-05/0.1495, allocations: 16.88 kB / 490.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.578e-05/0.1496, allocations: 35.42 kB / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.1496, allocations: 0 / 490.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03589/0.1855, allocations: 3.314 MB / 493.8 MB, free: 7.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.022/8.207, allocations: 15.8 kB / 493.8 MB, free: 7.195 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test16.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches