Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test84,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test84",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001303, 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.001582/0.001582, 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.357/1.357, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2019/0.2019, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001421/0.001421, allocations: 79.69 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.09666, allocations: 62.45 MB / 480.1 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.002974/0.09966, allocations: 1.728 MB / 481.9 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.1021, allocations: 1.62 MB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.1021, allocations: 0 / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002484/0.1024, allocations: 43.77 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.1028, allocations: 107.5 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002051/0.103, allocations: 71.67 kB / 483.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1032, allocations: 107.7 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.202e-05/0.1033, allocations: 8 kB / 483.8 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.543e-05/0.1034, allocations: 51.77 kB / 483.9 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.1035, allocations: 43.72 kB / 483.9 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.204e-05/0.1036, allocations: 12 kB / 483.9 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001813/0.1038, allocations: 103.9 kB / 484 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.585e-05/0.1038, allocations: 19.92 kB / 484 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.1039, allocations: 31.75 kB / 484.1 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002517/0.1041, allocations: 167.8 kB / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1041, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1042, allocations: 0 / 484.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1042, allocations: 0 / 484.2 MB, free: 1.094 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.0005767/0.1047, allocations: 431 kB / 484.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1048, allocations: 12.03 kB / 484.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.1048, allocations: 38.75 kB / 484.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.026e-05/0.1049, allocations: 8.844 kB / 484.7 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1051, allocations: 223.3 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.1051, allocations: 0 / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1052, allocations: 4 kB / 484.9 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001529/0.1053, allocations: 71.38 kB / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1053, allocations: 0 / 485 MB, free: 224 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1053, allocations: 4 kB / 485 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.506e-06/0.1054, allocations: 4 kB / 485 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.554e-05/0.1054, allocations: 19.98 kB / 485 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.1058, allocations: 288.8 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.106, allocations: 54.61 kB / 485.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.106, allocations: 28.86 kB / 485.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.1061, allocations: 3.984 kB / 485.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.1062, allocations: 67.33 kB / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.442e-06/0.1062, allocations: 0 / 485.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005334/0.1068, allocations: 173.1 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.1068, allocations: 89.03 kB / 485.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.107, allocations: 162.5 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.107, allocations: 29.7 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.1071, allocations: 92.14 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1071, allocations: 27.64 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.981e-05/0.1072, allocations: 25.72 kB / 486.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1074, allocations: 322.8 kB / 486.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.538e-05/0.1074, allocations: 27.92 kB / 486.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.281e-05/0.1075, allocations: 42.56 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001215/0.1077, allocations: 61.64 kB / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1077, allocations: 0 / 486.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000189/0.1079, allocations: 97.66 kB / 486.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.812e-05/0.1079, allocations: 4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.108, allocations: 4 kB / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.108, allocations: 0 / 486.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.1081, allocations: 23.86 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.1081, allocations: 4.062 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.334e-05/0.1081, allocations: 4 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.1082, allocations: 4 kB / 486.6 MB, free: 14.43 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 9.281e-05/0.1082, allocations: 121.8 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.893e-05/0.1083, allocations: 15.81 kB / 486.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.099e-05/0.1083, allocations: 12.72 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1083, allocations: 3.938 kB / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1083, allocations: 384 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.1084, allocations: 0 / 486.8 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.1089, allocations: 399.3 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.1089, allocations: 7.938 kB / 487.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.1089, allocations: 7.984 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.1089, allocations: 4 kB / 487.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.1089, allocations: 7.938 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1089, allocations: 192 / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.109, allocations: 4 kB / 487.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1093, allocations: 200.2 kB / 487.4 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.682e-05/0.1093, allocations: 92.94 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1094, allocations: 8 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.968e-05/0.1095, allocations: 0 / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.119e-05/0.1095, allocations: 11.97 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.1095, allocations: 4 kB / 487.5 MB, free: 13.44 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001039/0.1096, allocations: 130.3 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1096, allocations: 0 / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.1099, allocations: 55.92 kB / 487.7 MB, free: 13.26 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.001574/0.1115, allocations: 1.171 MB / 488.9 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.1117, allocations: 67.89 kB / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.1117, allocations: 0 / 488.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.492e-05/0.1118, allocations: 27.94 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.1122, allocations: 39.12 kB / 489 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.114, allocations: 1.569 MB / 490.6 MB, free: 10.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.1143, allocations: 0.7051 MB / 491.3 MB, free: 9.734 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.149e-05/0.1143, allocations: 17.17 kB / 491.3 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.1144, allocations: 39.42 kB / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1144, allocations: 192 / 491.3 MB, free: 9.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.1357, allocations: 3.931 MB / 495.3 MB, free: 5.824 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.399/7.535, allocations: 11.94 kB / 495.3 MB, free: 5.812 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_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_Test84.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches