Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001667/0.001667, 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.002387/0.002387, 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.484/1.484, 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.2065/0.2065, allocations: 46.11 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 76.81 kB / 417.7 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09455, allocations: 62.44 MB / 480.1 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003213/0.0978, allocations: 1.735 MB / 481.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.09941, allocations: 1.017 MB / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.09951, allocations: 0 / 482.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.0998, allocations: 87.7 kB / 483 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1002, allocations: 119.5 kB / 483.1 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002021/0.1004, allocations: 71.72 kB / 483.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.1005, allocations: 123.6 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.993e-05/0.1006, allocations: 11.98 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.721e-05/0.1007, allocations: 47.78 kB / 483.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.1008, allocations: 59.75 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.1009, allocations: 8 kB / 483.4 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.101, allocations: 43.98 kB / 483.4 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.101, allocations: 27.91 kB / 483.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.1011, allocations: 31.75 kB / 483.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1013, allocations: 127.8 kB / 483.6 MB, free: 1.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.1013, allocations: 4 kB / 483.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.1013, allocations: 4 kB / 483.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1013, allocations: 0 / 483.6 MB, free: 1.664 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.0004775/0.1018, allocations: 422.9 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1019, allocations: 12.03 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.1019, allocations: 30.75 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.939e-05/0.1019, allocations: 16.75 kB / 484.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1021, allocations: 216 kB / 484.3 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1022, allocations: 4.312 kB / 484.3 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1022, allocations: 7.938 kB / 484.3 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.1023, allocations: 57.61 kB / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1023, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.1024, allocations: 0 / 484.4 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.1024, allocations: 4 kB / 484.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.1024, allocations: 19.98 kB / 484.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003173/0.1028, allocations: 292.8 kB / 484.7 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000155/0.1029, allocations: 58.61 kB / 484.8 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.948e-05/0.103, allocations: 20.84 kB / 484.8 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.103, allocations: 4 kB / 484.8 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001631/0.1032, allocations: 67.39 kB / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.463e-06/0.1032, allocations: 0 / 484.8 MB, free: 288 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004889/0.1037, allocations: 181 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.1037, allocations: 59.39 kB / 485.1 MB, free: 28 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.104, allocations: 224.2 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.104, allocations: 29.7 kB / 485.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.104, allocations: 104.1 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.1041, allocations: 27.64 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.1041, allocations: 17.72 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1042, allocations: 330.8 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.519e-05/0.1043, allocations: 20 kB / 485.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.1044, allocations: 41.64 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1045, allocations: 58.08 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1045, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001809/0.1047, allocations: 105.4 kB / 486 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1047, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.1047, allocations: 4 kB / 486 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.1047, allocations: 3.984 kB / 486 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.043e-05/0.1048, allocations: 16 kB / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1048, allocations: 0 / 486 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.1049, allocations: 11.95 kB / 486.1 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.805e-06/0.1049, allocations: 4 kB / 486.1 MB, free: 14.99 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.351e-05/0.105, allocations: 133.8 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.105, allocations: 7.906 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.413e-05/0.1051, allocations: 21.39 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1051, allocations: 3.938 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1051, allocations: 0 / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1051, allocations: 3.938 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003923/0.1055, allocations: 415.4 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.1055, allocations: 0 / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.405e-05/0.1056, allocations: 8 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.1056, allocations: 3.938 kB / 486.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1056, allocations: 4.188 kB / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1056, allocations: 0 / 486.6 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1056, allocations: 3.938 kB / 486.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.1058, allocations: 212.2 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/0.1059, allocations: 88.92 kB / 486.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.1059, allocations: 3.938 kB / 487 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-05/0.106, allocations: 8 kB / 487 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.106, allocations: 11.98 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.106, allocations: 4 kB / 487 MB, free: 13.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1062, allocations: 165.2 kB / 487.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1062, allocations: 4 kB / 487.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002528/0.1064, allocations: 23.98 kB / 487.2 MB, free: 13.78 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.00127/0.1077, allocations: 1.085 MB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001736/0.1079, allocations: 63.97 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1079, allocations: 3.938 kB / 488.3 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.79e-05/0.108, allocations: 23.98 kB / 488.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003439/0.1083, allocations: 39.05 kB / 488.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.1103, allocations: 1.71 MB / 490.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002876/0.1106, allocations: 0.708 MB / 490.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.93e-05/0.1107, allocations: 12.89 kB / 490.8 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.314e-05/0.1107, allocations: 43.41 kB / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1107, allocations: 0 / 490.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09244/0.2032, allocations: 3.484 MB / 494.3 MB, free: 6.715 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.473, allocations: 14.86 kB / 494.3 MB, free: 6.703 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_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_Test40.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches