Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002167/0.002167, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.09 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 72.77 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09804/0.09937, allocations: 62.46 MB / 480.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003167/0.1026, allocations: 1.732 MB / 481.9 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1041, allocations: 1.033 MB / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.1042, allocations: 0 / 482.9 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.1046, allocations: 103.7 kB / 483 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.1049, allocations: 131.5 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.1051, allocations: 75.67 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001778/0.1053, allocations: 127.7 kB / 483.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.914e-05/0.1054, allocations: 12 kB / 483.4 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.1055, allocations: 67.62 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1057, allocations: 59.83 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1057, allocations: 4 kB / 483.5 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1058, allocations: 63.97 kB / 483.5 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.286e-05/0.1059, allocations: 27.86 kB / 483.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.139e-05/0.1059, allocations: 47.66 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002014/0.1061, allocations: 143.8 kB / 483.8 MB, free: 1.527 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.1062, allocations: 4 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1062, allocations: 0 / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1062, allocations: 0 / 483.8 MB, free: 1.523 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004756/0.1066, allocations: 450.7 kB / 484.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1067, allocations: 8.031 kB / 484.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.1067, allocations: 38.75 kB / 484.2 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.73e-05/0.1068, allocations: 12.75 kB / 484.3 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001995/0.107, allocations: 219.9 kB / 484.5 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.107, allocations: 4.375 kB / 484.5 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.107, allocations: 7.938 kB / 484.5 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.1072, allocations: 61.66 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.1072, allocations: 3.938 kB / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1072, allocations: 0 / 484.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1072, allocations: 7.938 kB / 484.6 MB, free: 0.625 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.22e-05/0.1073, allocations: 27.98 kB / 484.6 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1076, allocations: 304.7 kB / 484.9 MB, free: 256 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002023/0.1078, allocations: 66.48 kB / 484.9 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.43e-05/0.1079, allocations: 20.97 kB / 485 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.1079, allocations: 8 kB / 485 MB, free: 148 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.1081, allocations: 67.39 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1081, allocations: 0 / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007128/0.1088, allocations: 240.9 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.348e-05/0.1089, allocations: 59.34 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002045/0.1091, allocations: 251.2 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.1091, allocations: 33.7 kB / 485.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.833e-05/0.1092, allocations: 108.1 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.1092, allocations: 35.62 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.1092, allocations: 29.7 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.741e-05/0.1093, allocations: 326.8 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.822e-05/0.1094, allocations: 35.92 kB / 486.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.36e-05/0.1095, allocations: 49.64 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1096, allocations: 81.75 kB / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1097, allocations: 0 / 486.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002053/0.1099, allocations: 129.4 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1099, allocations: 6.5 kB / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1099, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.1099, allocations: 0 / 486.4 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.861e-05/0.11, allocations: 31.92 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.11, allocations: 4.031 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.188e-05/0.1101, allocations: 0 / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.1101, allocations: 4.703 kB / 486.4 MB, free: 14.6 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 (13): * Single equations (assignments): 13 * 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.51e-05/0.1102, allocations: 144.7 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.1102, allocations: 15.81 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.929e-05/0.1103, allocations: 25.39 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.1103, allocations: 3.938 kB / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1103, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1103, allocations: 0 / 486.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004521/0.1107, allocations: 459.9 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1107, allocations: 4 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.1108, allocations: 16.08 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.1108, allocations: 3.938 kB / 487.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.1108, allocations: 4 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1108, allocations: 0 / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1108, allocations: 4.062 kB / 487.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.1111, allocations: 240.9 kB / 487.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.1111, allocations: 92.91 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1112, allocations: 4 kB / 487.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.252e-05/0.1112, allocations: 11.94 kB / 487.4 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.05e-05/0.1113, allocations: 11.98 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.1113, allocations: 4 kB / 487.5 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.1114, allocations: 188.2 kB / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1114, allocations: 0 / 487.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1117, allocations: 39.98 kB / 487.7 MB, free: 13.24 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 (11): * Single equations (assignments): 9 * 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.001384/0.1131, allocations: 1.169 MB / 488.9 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.1133, allocations: 87.84 kB / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1133, allocations: 0 / 488.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.74e-05/0.1134, allocations: 39.92 kB / 489 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.1137, allocations: 31.33 kB / 489 MB, free: 12.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.1155, allocations: 1.875 MB / 490.9 MB, free: 10.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.1158, allocations: 0.7119 MB / 491.6 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.347e-05/0.1159, allocations: 24.62 kB / 491.6 MB, free: 9.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.797e-05/0.1159, allocations: 47.42 kB / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1159, allocations: 0 / 491.7 MB, free: 9.289 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2693/0.3853, allocations: 3.941 MB / 495.6 MB, free: 5.418 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.237/8.623, allocations: 28.23 kB / 495.6 MB, free: 5.398 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_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_Test7.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches