Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test50,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001946/0.001946, 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.002343/0.002344, 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.383/1.383, 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.2729/0.2729, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 79.12 kB / 417.7 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1113, allocations: 62.45 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003872/0.1152, allocations: 1.732 MB / 481.9 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002895/0.1181, allocations: 1.623 MB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1182, allocations: 4 kB / 483.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.1186, allocations: 35.77 kB / 483.5 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003793/0.119, allocations: 107.5 kB / 483.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.1192, allocations: 79.66 kB / 483.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.1195, allocations: 115.7 kB / 483.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1196, allocations: 4 kB / 483.8 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1197, allocations: 55.77 kB / 483.9 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1199, allocations: 55.7 kB / 483.9 MB, free: 1.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.1199, allocations: 8 kB / 483.9 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002475/0.1202, allocations: 99.94 kB / 484 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.333e-05/0.1203, allocations: 19.92 kB / 484.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.1203, allocations: 39.73 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003877/0.1207, allocations: 187.8 kB / 484.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.1207, allocations: 4 kB / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1208, allocations: 0 / 484.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1208, allocations: 0 / 484.3 MB, free: 1.027 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.0006846/0.1215, allocations: 431 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.1215, allocations: 12.03 kB / 484.7 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.318e-05/0.1216, allocations: 34.73 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.336e-05/0.1217, allocations: 12.84 kB / 484.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/0.122, allocations: 215.3 kB / 485 MB, free: 252 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1221, allocations: 4.375 kB / 485 MB, free: 248 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.1221, allocations: 7.938 kB / 485 MB, free: 240 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.1223, allocations: 75.38 kB / 485.1 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.1223, allocations: 4 kB / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.224e-05/0.1223, allocations: 0 / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1223, allocations: 0 / 485.1 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.936e-05/0.1224, allocations: 35.95 kB / 485.1 MB, free: 112 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.1229, allocations: 308.6 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002036/0.1231, allocations: 62.67 kB / 485.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.618e-05/0.1232, allocations: 32.84 kB / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1233, allocations: 0 / 485.5 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002417/0.1235, allocations: 71.33 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.1235, allocations: 4 kB / 485.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006579/0.1242, allocations: 197.2 kB / 485.8 MB, free: 15.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.194e-05/0.1243, allocations: 85.11 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.1245, allocations: 178.1 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.09e-05/0.1245, allocations: 25.7 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.91e-05/0.1246, allocations: 96.14 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.1246, allocations: 27.64 kB / 486.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.1247, allocations: 29.7 kB / 486.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1248, allocations: 322.8 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.1249, allocations: 20 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.085e-05/0.1249, allocations: 58.48 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.1251, allocations: 69.66 kB / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1251, allocations: 0 / 486.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000227/0.1253, allocations: 117.4 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1254, allocations: 4 kB / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1254, allocations: 0 / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.1254, allocations: 64 / 486.8 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.1255, allocations: 23.98 kB / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1255, allocations: 0 / 486.8 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.1256, allocations: 15.88 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1256, allocations: 8 kB / 486.8 MB, free: 14.23 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 (11): * Single equations (assignments): 11 * 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.1257, allocations: 117.8 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1257, allocations: 11.91 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.985e-05/0.1258, allocations: 12.72 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1258, allocations: 0 / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1258, allocations: 4 kB / 487 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.1258, allocations: 7.922 kB / 487 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1263, allocations: 419.4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1263, allocations: 4 kB / 487.4 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.1264, allocations: 11.94 kB / 487.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1264, allocations: 3.938 kB / 487.4 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1264, allocations: 8 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1264, allocations: 0 / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1264, allocations: 4.031 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.1267, allocations: 212.8 kB / 487.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-05/0.1267, allocations: 85.02 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1268, allocations: 7.938 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.049e-05/0.1268, allocations: 7.984 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.1269, allocations: 11.92 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.1269, allocations: 8 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.127, allocations: 131.2 kB / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.127, allocations: 0 / 487.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.1274, allocations: 51.92 kB / 487.9 MB, free: 13.03 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 (9): * Single equations (assignments): 7 * 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.001629/0.129, allocations: 1.186 MB / 489.1 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1292, allocations: 79.84 kB / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1292, allocations: 0 / 489.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.1293, allocations: 39.91 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1297, allocations: 36.14 kB / 489.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001797/0.1315, allocations: 1.65 MB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1318, allocations: 0.7006 MB / 491.6 MB, free: 9.379 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.785e-05/0.1319, allocations: 16.64 kB / 491.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.132, allocations: 39.42 kB / 491.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.132, allocations: 4 kB / 491.7 MB, free: 9.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02212/0.1541, allocations: 4.084 MB / 495.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.368/8.522, allocations: 15.86 kB / 495.8 MB, free: 5.297 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test50.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches