Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.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.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001506/0.001506, 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.001967/0.001967, 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.394/1.394, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.214/0.214, allocations: 46.09 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 75.84 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1151, allocations: 62.45 MB / 480.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003438/0.1186, allocations: 1.919 MB / 482.1 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1205, allocations: 1.119 MB / 483.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.1206, allocations: 4 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003823/0.1211, allocations: 163.5 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004667/0.1215, allocations: 183.3 kB / 483.5 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.1219, allocations: 111.6 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003683/0.1223, allocations: 247.3 kB / 483.9 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.1224, allocations: 25.67 kB / 483.9 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.1226, allocations: 111.6 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/0.1228, allocations: 135.4 kB / 484.1 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.919e-05/0.1229, allocations: 8 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001886/0.1231, allocations: 63.97 kB / 484.2 MB, free: 1.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.82e-05/0.1232, allocations: 47.84 kB / 484.3 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.1233, allocations: 91.28 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003226/0.1236, allocations: 219.5 kB / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1236, allocations: 0 / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1236, allocations: 0 / 484.6 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.1236, allocations: 4 kB / 484.6 MB, free: 0.7344 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00077/0.1244, allocations: 0.5371 MB / 485.1 MB, free: 152 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.1245, allocations: 12.02 kB / 485.1 MB, free: 140 kB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.236e-05/0.1245, allocations: 38.75 kB / 485.1 MB, free: 92 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.018e-05/0.1246, allocations: 24.66 kB / 485.2 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1249, allocations: 279.4 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.1249, allocations: 4.375 kB / 485.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.125, allocations: 11.94 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002349/0.1252, allocations: 114.3 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1252, allocations: 3.938 kB / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.1253, allocations: 0 / 485.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1253, allocations: 4 kB / 485.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.1254, allocations: 51.89 kB / 485.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005479/0.126, allocations: 472.6 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.1264, allocations: 129.2 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.81e-05/0.1265, allocations: 49.81 kB / 486.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.1265, allocations: 4 kB / 486.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002549/0.1268, allocations: 113 kB / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1268, allocations: 0 / 486.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001298/0.1281, allocations: 496.7 kB / 486.9 MB, free: 14.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.1281, allocations: 85.05 kB / 487 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.1285, allocations: 371.3 kB / 487.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.1286, allocations: 29.7 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.1287, allocations: 156.3 kB / 487.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.852e-05/0.1287, allocations: 67.09 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.562e-05/0.1288, allocations: 41.7 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.129, allocations: 346.8 kB / 487.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001272/0.1291, allocations: 55.98 kB / 488 MB, free: 13.03 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.1293, allocations: 91.39 kB / 488.1 MB, free: 12.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.1296, allocations: 155.5 kB / 488.2 MB, free: 12.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1296, allocations: 4 kB / 488.2 MB, free: 12.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003845/0.13, allocations: 233.1 kB / 488.5 MB, free: 12.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.13, allocations: 4 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.13, allocations: 4 kB / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.13, allocations: 0 / 488.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1302, allocations: 47.92 kB / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.1302, allocations: 0 / 488.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.881e-05/0.1303, allocations: 11.98 kB / 488.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.1303, allocations: 8.062 kB / 488.5 MB, free: 12.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001436/0.1304, allocations: 157.8 kB / 488.7 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.895e-05/0.1305, allocations: 39.55 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.1306, allocations: 33.83 kB / 488.8 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1306, allocations: 4 kB / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1306, allocations: 0 / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1306, allocations: 0 / 488.8 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008656/0.1315, allocations: 0.7349 MB / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.1315, allocations: 0 / 489.5 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.874e-05/0.1316, allocations: 31.92 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1316, allocations: 4 kB / 489.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1316, allocations: 7.984 kB / 489.5 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.1316, allocations: 8.125 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.1316, allocations: 3.938 kB / 489.6 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.1321, allocations: 425.3 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.1322, allocations: 96.83 kB / 490.1 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.1322, allocations: 8 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.1323, allocations: 7.984 kB / 490.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.024e-05/0.1324, allocations: 23.92 kB / 490.1 MB, free: 10.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.1324, allocations: 8 kB / 490.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002481/0.1327, allocations: 277.9 kB / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1327, allocations: 0 / 490.4 MB, free: 10.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003484/0.133, allocations: 52 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001757/0.1348, allocations: 1.357 MB / 491.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.1352, allocations: 175.7 kB / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.1352, allocations: 0 / 492 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.1354, allocations: 79.84 kB / 492 MB, free: 8.973 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005445/0.1359, allocations: 70.52 kB / 492.1 MB, free: 8.914 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003289/0.1392, allocations: 2.713 MB / 494.8 MB, free: 6.078 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1396, allocations: 0.7674 MB / 495.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.1397, allocations: 45.91 kB / 495.6 MB, free: 5.242 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.1399, allocations: 87.78 kB / 495.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of SimCode: time 1.853e-06/0.1399, allocations: 0 / 495.7 MB, free: 5.156 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02233/0.1622, allocations: 5.978 MB / 0.4899 GB, free: 15.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.663/7.825, allocations: 12 kB / 0.49 GB, free: 15.25 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_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_CombiTimeTable_Test73.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test73.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches