Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001364/0.001364, allocations: 103.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.001663/0.001663, 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.444/1.444, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.1 MB / 344.1 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 74.64 kB / 417.7 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09812/0.09946, allocations: 62.44 MB / 480.1 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003144/0.1026, allocations: 1.755 MB / 481.9 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1042, allocations: 1.025 MB / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.07e-05/0.1043, allocations: 0 / 482.9 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000289/0.1046, allocations: 111.7 kB / 483 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003156/0.105, allocations: 127.5 kB / 483.1 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001992/0.1052, allocations: 75.72 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1054, allocations: 135.6 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.419e-05/0.1055, allocations: 16 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.1056, allocations: 63.7 kB / 483.4 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.1057, allocations: 63.81 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.1057, allocations: 4 kB / 483.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001176/0.1058, allocations: 63.95 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.467e-05/0.1059, allocations: 31.86 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.14e-05/0.106, allocations: 55.64 kB / 483.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002122/0.1062, allocations: 159.7 kB / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.1062, allocations: 0 / 483.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1062, allocations: 4 kB / 483.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.1062, allocations: 4 kB / 483.8 MB, free: 1.445 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004945/0.1067, allocations: 446.7 kB / 484.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.1067, allocations: 12.02 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.1068, allocations: 30.75 kB / 484.3 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1068, allocations: 16.75 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.107, allocations: 221 kB / 484.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.1071, allocations: 16.3 kB / 484.5 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.1071, allocations: 3.938 kB / 484.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.1072, allocations: 65.67 kB / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.1073, allocations: 0 / 484.6 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1073, allocations: 7.938 kB / 484.6 MB, free: 0.543 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1073, allocations: 3.938 kB / 484.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.695e-05/0.1074, allocations: 35.97 kB / 484.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003551/0.1077, allocations: 316.7 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002376/0.108, allocations: 74.55 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.137e-05/0.1081, allocations: 29 kB / 485.1 MB, free: 32 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1081, allocations: 3.984 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.1083, allocations: 83.31 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1083, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.000781/0.1091, allocations: 265.6 kB / 485.4 MB, free: 15.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.743e-05/0.1091, allocations: 59.34 kB / 485.5 MB, free: 15.6 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.1093, allocations: 255.8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.1093, allocations: 29.7 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.186e-05/0.1094, allocations: 112.1 kB / 485.9 MB, free: 15.19 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.611e-05/0.1095, allocations: 39.44 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.391e-05/0.1095, allocations: 29.72 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1096, allocations: 334.8 kB / 486.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.437e-05/0.1097, allocations: 35.98 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.808e-05/0.1098, allocations: 45.7 kB / 486.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.1099, allocations: 93.58 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.11, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002391/0.1102, allocations: 145.4 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1102, allocations: 6.5 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.1102, allocations: 8.109 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.1102, allocations: 0 / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.796e-05/0.1103, allocations: 27.92 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1103, allocations: 3.984 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1104, allocations: 11.94 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1104, allocations: 4 kB / 486.6 MB, free: 14.39 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 (14): * Single equations (assignments): 14 * 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.0001047/0.1105, allocations: 141.8 kB / 486.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.1106, allocations: 15.81 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.974e-05/0.1106, allocations: 29.34 kB / 486.8 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.1106, allocations: 3.938 kB / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1106, allocations: 0 / 486.8 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1106, allocations: 7.984 kB / 486.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004969/0.1111, allocations: 475.9 kB / 487.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.1112, allocations: 4 kB / 487.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.638e-05/0.1112, allocations: 12 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.1112, allocations: 4.062 kB / 487.3 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.1112, allocations: 8 kB / 487.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.1112, allocations: 3.984 kB / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1112, allocations: 0 / 487.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/0.1115, allocations: 253.1 kB / 487.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.1116, allocations: 96.91 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1116, allocations: 4 kB / 487.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.254e-05/0.1117, allocations: 4 kB / 487.7 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.1117, allocations: 11.92 kB / 487.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.1117, allocations: 8 kB / 487.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001506/0.1119, allocations: 193.5 kB / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1119, allocations: 0 / 487.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1122, allocations: 35.98 kB / 487.9 MB, free: 12.99 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001478/0.1136, allocations: 1.18 MB / 489.1 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.1139, allocations: 87.91 kB / 489.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.1139, allocations: 8.062 kB / 489.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.114, allocations: 47.91 kB / 489.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.1143, allocations: 33.23 kB / 489.3 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001869/0.1162, allocations: 1.937 MB / 491.2 MB, free: 9.762 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.1164, allocations: 0.7279 MB / 491.9 MB, free: 9.008 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.894e-05/0.1165, allocations: 25.06 kB / 491.9 MB, free: 8.984 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.1166, allocations: 51.42 kB / 492 MB, free: 8.934 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1166, allocations: 0 / 492 MB, free: 8.934 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2702/0.3868, allocations: 4.105 MB / 496.1 MB, free: 4.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.932/8.319, allocations: 14.11 kB / 496.1 MB, free: 4.887 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_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_Test8.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches