Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test38,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001181/0.001181, allocations: 105.2 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.001342/0.001342, 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.35/1.35, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2358/0.2358, allocations: 46.11 MB / 344.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 82.19 kB / 417.7 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1277, allocations: 62.44 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003841/0.1315, allocations: 1.692 MB / 481.8 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.134, allocations: 1.009 MB / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1342, allocations: 0 / 482.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1346, allocations: 59.73 kB / 482.9 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.1352, allocations: 107.6 kB / 483 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1356, allocations: 71.67 kB / 483.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002763/0.1359, allocations: 107.7 kB / 483.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.849e-05/0.136, allocations: 8.219 kB / 483.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001966/0.1362, allocations: 47.8 kB / 483.2 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001575/0.1364, allocations: 43.83 kB / 483.3 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.064e-05/0.1364, allocations: 4 kB / 483.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.1366, allocations: 39.92 kB / 483.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.1367, allocations: 19.91 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.377e-05/0.1368, allocations: 31.75 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003609/0.1372, allocations: 103.9 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.1372, allocations: 8 kB / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.1372, allocations: 0 / 483.5 MB, free: 1.801 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.1372, allocations: 0 / 483.5 MB, free: 1.801 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005824/0.1378, allocations: 406.9 kB / 483.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1379, allocations: 8.031 kB / 483.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.85e-05/0.1379, allocations: 34.69 kB / 483.9 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/0.138, allocations: 12.84 kB / 483.9 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002393/0.1382, allocations: 208.7 kB / 484.1 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1382, allocations: 4.375 kB / 484.1 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.484e-05/0.1382, allocations: 3.938 kB / 484.1 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.1384, allocations: 53.66 kB / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.1384, allocations: 0 / 484.2 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.1384, allocations: 4 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1384, allocations: 0 / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.349e-05/0.1385, allocations: 15.98 kB / 484.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002159/0.1387, allocations: 181.6 kB / 484.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1389, allocations: 54.56 kB / 484.4 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.766e-05/0.139, allocations: 20.84 kB / 484.5 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.139, allocations: 8 kB / 484.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002418/0.1393, allocations: 71.23 kB / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1393, allocations: 0 / 484.5 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002975/0.1396, allocations: 97.52 kB / 484.6 MB, free: 472 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1396, allocations: 51.41 kB / 484.7 MB, free: 408 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001964/0.1398, allocations: 190.4 kB / 484.9 MB, free: 208 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1399, allocations: 29.7 kB / 484.9 MB, free: 172 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.802e-05/0.1399, allocations: 112.1 kB / 485 MB, free: 56 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.747e-05/0.14, allocations: 7.812 kB / 485 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.14, allocations: 25.7 kB / 485 MB, free: 16 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1402, allocations: 318.9 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.1402, allocations: 12 kB / 485.4 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.169e-05/0.1403, allocations: 33.7 kB / 485.4 MB, free: 15.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.1404, allocations: 53.89 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1404, allocations: 3.938 kB / 485.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001728/0.1406, allocations: 77.59 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1406, allocations: 7.938 kB / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1407, allocations: 0 / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.1407, allocations: 0 / 485.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.595e-05/0.1408, allocations: 15.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.1408, allocations: 0 / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.082e-05/0.1408, allocations: 8.031 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1409, allocations: 0 / 485.6 MB, free: 15.46 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 (7): * Single equations (assignments): 7 * 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.422e-05/0.141, allocations: 129.8 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.732e-05/0.141, allocations: 15.81 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.141, allocations: 16.94 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.141, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1411, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1411, allocations: 0 / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.1412, allocations: 193.5 kB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1412, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.224e-05/0.1412, allocations: 4 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1412, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1413, allocations: 0 / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.1413, allocations: 7.938 kB / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1413, allocations: 0 / 485.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001769/0.1415, allocations: 105 kB / 486 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.338e-05/0.1415, allocations: 85.02 kB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.229e-05/0.1415, allocations: 11.98 kB / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.502e-05/0.1416, allocations: 128 / 486.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1416, allocations: 8 kB / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.267e-05/0.1416, allocations: 0 / 486.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001188/0.1418, allocations: 148.2 kB / 486.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1418, allocations: 3.938 kB / 486.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002253/0.142, allocations: 27.91 kB / 486.3 MB, free: 14.62 MB / 366.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00131/0.1433, allocations: 0.946 MB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001688/0.1435, allocations: 43.92 kB / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1435, allocations: 0 / 487.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.1436, allocations: 20 kB / 487.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1439, allocations: 32.94 kB / 487.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1455, allocations: 1.502 MB / 488.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.1458, allocations: 0.7049 MB / 489.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.959e-05/0.1459, allocations: 12.53 kB / 489.6 MB, free: 11.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.146, allocations: 35.42 kB / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.146, allocations: 0 / 489.6 MB, free: 11.33 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02046/0.1665, allocations: 3.064 MB / 492.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.056/8.222, allocations: 12.06 kB / 492.7 MB, free: 8.324 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test38.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches