Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006455/0.006455, allocations: 100.3 kB / 15.87 MB, free: 6.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 192.9 kB / 16.79 MB, free: 6.238 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3239/0.3239, allocations: 43.5 MB / 313.5 MB, free: 8.312 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 70.56 kB / 382.1 MB, free: 8.398 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09785/0.09915, allocations: 57.78 MB / 439.9 MB, free: 14.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002747/0.1019, allocations: 1.76 MB / 441.7 MB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1031, allocations: 0.7923 MB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.592e-05/0.1031, allocations: 4 kB / 442.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002451/0.1034, allocations: 31.91 kB / 442.5 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001535/0.1036, allocations: 47.81 kB / 442.6 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002081/0.1038, allocations: 75.86 kB / 442.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1039, allocations: 95.69 kB / 442.7 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.104, allocations: 12.2 kB / 442.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.844e-05/0.1041, allocations: 43.73 kB / 442.8 MB, free: 11.63 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.1042, allocations: 31.8 kB / 442.8 MB, free: 11.6 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.1042, allocations: 3.984 kB / 442.8 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.573e-05/0.1043, allocations: 39.98 kB / 442.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.597e-05/0.1043, allocations: 19.92 kB / 442.9 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.253e-05/0.1044, allocations: 27.8 kB / 442.9 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001574/0.1045, allocations: 107.9 kB / 443 MB, free: 11.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1045, allocations: 7.984 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1046, allocations: 3.938 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.1046, allocations: 0 / 443 MB, free: 11.39 MB / 382.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.0004515/0.105, allocations: 410.9 kB / 443.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1051, allocations: 12.03 kB / 443.4 MB, free: 10.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.384e-05/0.1051, allocations: 38.73 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.589e-05/0.1051, allocations: 8.844 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1053, allocations: 208 kB / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1054, allocations: 384 / 443.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1054, allocations: 15.92 kB / 443.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1055, allocations: 53.61 kB / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1055, allocations: 0 / 443.7 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.1056, allocations: 8 kB / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1056, allocations: 0 / 443.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.138e-05/0.1056, allocations: 19.98 kB / 443.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002979/0.106, allocations: 284.8 kB / 444.1 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.1061, allocations: 54.62 kB / 444.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.385e-05/0.1062, allocations: 28.84 kB / 444.1 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.1062, allocations: 7.984 kB / 444.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.1064, allocations: 59.39 kB / 444.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1064, allocations: 0 / 444.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004882/0.1069, allocations: 177.2 kB / 444.4 MB, free: 9.852 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.1069, allocations: 51.41 kB / 444.4 MB, free: 9.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.1071, allocations: 198.1 kB / 444.6 MB, free: 9.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.1071, allocations: 25.7 kB / 444.6 MB, free: 9.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.815e-05/0.1072, allocations: 96.14 kB / 444.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1072, allocations: 23.7 kB / 444.8 MB, free: 9.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-05/0.1072, allocations: 25.72 kB / 444.8 MB, free: 9.402 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.56e-05/0.1073, allocations: 322.8 kB / 445.1 MB, free: 9.078 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.1074, allocations: 19.98 kB / 445.1 MB, free: 9.059 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.45e-05/0.1075, allocations: 45.58 kB / 445.2 MB, free: 9.008 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001047/0.1076, allocations: 57.7 kB / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.1076, allocations: 384 / 445.2 MB, free: 8.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001654/0.1078, allocations: 101.5 kB / 445.3 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.1078, allocations: 4 kB / 445.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.1078, allocations: 3.938 kB / 445.3 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1078, allocations: 8 kB / 445.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.184e-05/0.1079, allocations: 15.98 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1079, allocations: 4.031 kB / 445.4 MB, free: 8.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.108, allocations: 7.938 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.108, allocations: 0 / 445.4 MB, free: 8.797 MB / 382.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.531e-05/0.1081, allocations: 133.8 kB / 445.5 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1081, allocations: 11.81 kB / 445.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.1081, allocations: 12.72 kB / 445.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.1082, allocations: 3.984 kB / 445.5 MB, free: 8.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.1082, allocations: 4 kB / 445.5 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.1082, allocations: 3.938 kB / 445.5 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.1086, allocations: 391.3 kB / 445.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.1086, allocations: 0 / 445.9 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.004e-05/0.1086, allocations: 8 kB / 445.9 MB, free: 8.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.1086, allocations: 7.938 kB / 445.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.1086, allocations: 0 / 445.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1086, allocations: 0 / 445.9 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.1087, allocations: 3.984 kB / 445.9 MB, free: 8.164 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000212/0.1089, allocations: 204.5 kB / 446.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.1089, allocations: 88.95 kB / 446.2 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1089, allocations: 7.938 kB / 446.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.606e-05/0.109, allocations: 0 / 446.2 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.542e-05/0.1091, allocations: 11.98 kB / 446.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.1091, allocations: 4 kB / 446.2 MB, free: 7.816 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.93e-05/0.1092, allocations: 148 kB / 446.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1092, allocations: 0 / 446.4 MB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1094, allocations: 27.91 kB / 446.4 MB, free: 7.645 MB / 382.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.00136/0.1108, allocations: 1.109 MB / 447.5 MB, free: 6.547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.111, allocations: 55.98 kB / 447.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.111, allocations: 0 / 447.6 MB, free: 6.492 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.1111, allocations: 27.92 kB / 447.6 MB, free: 6.465 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.1114, allocations: 32.11 kB / 447.6 MB, free: 6.434 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.1129, allocations: 1.648 MB / 449.3 MB, free: 4.695 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.1131, allocations: 0.7043 MB / 450 MB, free: 3.965 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.151e-05/0.1132, allocations: 21.17 kB / 450 MB, free: 3.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.935e-05/0.1132, allocations: 35.42 kB / 450 MB, free: 3.91 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1132, allocations: 0 / 450 MB, free: 3.91 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01172/0.125, allocations: 3.117 MB / 453.2 MB, free: 0.7656 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001856/0.1252, allocations: 234.5 kB / 453.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.903/2.028, allocations: 0 / 453.4 MB, free: 0.5117 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches