Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35",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.001162/0.001161, allocations: 103.2 kB / 16.27 MB, free: 6.41 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.0013/0.0013, allocations: 191.8 kB / 17.2 MB, free: 5.953 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.339/1.339, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1992/0.1992, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001659/0.001659, allocations: 76.14 kB / 382.8 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09272/0.09439, allocations: 57.8 MB / 440.6 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002723/0.09716, allocations: 1.686 MB / 442.3 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001096/0.09827, allocations: 0.7922 MB / 443.1 MB, free: 4.285 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.222e-05/0.09837, allocations: 4 kB / 443.1 MB, free: 4.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000352/0.09874, allocations: 99.67 kB / 443.2 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002325/0.09898, allocations: 67.73 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.09922, allocations: 95.31 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001483/0.09937, allocations: 107.7 kB / 443.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.999e-05/0.09948, allocations: 12.16 kB / 443.5 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.754e-05/0.09957, allocations: 51.78 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/0.09966, allocations: 63.81 kB / 443.6 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.09969, allocations: 4 kB / 443.6 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.951e-05/0.09978, allocations: 43.98 kB / 443.7 MB, free: 3.75 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.216e-05/0.09984, allocations: 23.91 kB / 443.7 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.0999, allocations: 39.67 kB / 443.7 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1001, allocations: 123.6 kB / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1001, allocations: 0 / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1001, allocations: 0 / 443.8 MB, free: 3.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1001, allocations: 0 / 443.8 MB, free: 3.566 MB / 318.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.0004583/0.1006, allocations: 426.8 kB / 444.3 MB, free: 3.102 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.445e-05/0.1006, allocations: 11.89 kB / 444.3 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.346e-05/0.1006, allocations: 34.75 kB / 444.3 MB, free: 3.047 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1007, allocations: 8.844 kB / 444.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.1009, allocations: 219.9 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1009, allocations: 384 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1009, allocations: 7.938 kB / 444.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.101, allocations: 57.61 kB / 444.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1011, allocations: 0 / 444.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.1011, allocations: 3.984 kB / 444.6 MB, free: 2.711 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.1011, allocations: 8 kB / 444.6 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.1012, allocations: 12 kB / 444.6 MB, free: 2.691 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002769/0.1014, allocations: 296.9 kB / 444.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.1016, allocations: 54.62 kB / 445 MB, free: 2.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.792e-05/0.1016, allocations: 24.84 kB / 445 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.35e-05/0.1017, allocations: 3.938 kB / 445 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.1018, allocations: 67.39 kB / 445 MB, free: 2.18 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.044e-06/0.1019, allocations: 3.984 kB / 445.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004919/0.1024, allocations: 177.1 kB / 445.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.814e-05/0.1024, allocations: 51.41 kB / 445.3 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1025, allocations: 234.6 kB / 445.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1026, allocations: 29.7 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.852e-05/0.1026, allocations: 104.1 kB / 445.6 MB, free: 1.555 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.411e-05/0.1026, allocations: 27.64 kB / 445.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.395e-05/0.1027, allocations: 29.7 kB / 445.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.851e-05/0.1027, allocations: 322.8 kB / 446 MB, free: 1.168 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.261e-05/0.1028, allocations: 23.98 kB / 446 MB, free: 1.145 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/0.1028, allocations: 37.64 kB / 446.1 MB, free: 1.102 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.475e-05/0.1029, allocations: 57.72 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.103, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001504/0.1031, allocations: 105.4 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.1031, allocations: 8 kB / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.1031, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.1032, allocations: 0 / 446.2 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.1032, allocations: 12 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1033, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.1033, allocations: 11.95 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-06/0.1033, allocations: 4 kB / 446.3 MB, free: 0.8906 MB / 318.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 7.176e-05/0.1034, allocations: 137.7 kB / 446.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.1034, allocations: 15.75 kB / 446.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.1035, allocations: 17.41 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.1035, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1035, allocations: 0 / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1035, allocations: 3.938 kB / 446.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/0.1038, allocations: 403.3 kB / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1038, allocations: 0 / 446.8 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.199e-05/0.1039, allocations: 12.38 kB / 446.8 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1039, allocations: 3.938 kB / 446.8 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.1039, allocations: 4 kB / 446.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1039, allocations: 4 kB / 446.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1039, allocations: 0 / 446.9 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.1041, allocations: 212.4 kB / 447.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.313e-05/0.1042, allocations: 88.92 kB / 447.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.1042, allocations: 7.875 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.072e-05/0.1043, allocations: 4 kB / 447.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.1043, allocations: 7.984 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.1044, allocations: 8 kB / 447.2 MB, free: 15.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001413/0.1045, allocations: 159.2 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1045, allocations: 4 kB / 447.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.1048, allocations: 27.98 kB / 447.4 MB, free: 15.68 MB / 334.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.001435/0.1062, allocations: 1.108 MB / 448.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.1064, allocations: 55.91 kB / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1064, allocations: 0 / 448.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.216e-05/0.1065, allocations: 31.98 kB / 448.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003376/0.1068, allocations: 30.14 kB / 448.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.1086, allocations: 1.714 MB / 450.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.1088, allocations: 0.7156 MB / 451 MB, free: 11.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.346e-05/0.1089, allocations: 17.17 kB / 451 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.823e-05/0.109, allocations: 43.36 kB / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.109, allocations: 0 / 451.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02004/0.129, allocations: 3.464 MB / 454.5 MB, free: 8.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.23, allocations: 15.81 kB / 454.6 MB, free: 8.418 MB / 334.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches