Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001051/0.001051, allocations: 103.5 kB / 17.63 MB, free: 5.344 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.001103/0.001103, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1953/0.1953, allocations: 44.18 MB / 336.6 MB, free: 2.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 59.69 kB / 408.5 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09497/0.09623, allocations: 60.84 MB / 469.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002787/0.09906, allocations: 1.649 MB / 471 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001251/0.1003, allocations: 0.8575 MB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/0.1004, allocations: 3.938 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.1007, allocations: 51.81 kB / 471.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001932/0.1009, allocations: 55.75 kB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1011, allocations: 103.6 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001508/0.1013, allocations: 99.69 kB / 472.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.057e-05/0.1013, allocations: 11.98 kB / 472.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1014, allocations: 39.84 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1015, allocations: 39.78 kB / 472.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.1015, allocations: 4 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.1016, allocations: 39.92 kB / 472.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.908e-05/0.1017, allocations: 19.97 kB / 472.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.126e-05/0.1017, allocations: 35.69 kB / 472.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.1019, allocations: 88 kB / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1019, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1019, allocations: 0 / 472.5 MB, free: 11.13 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1019, allocations: 8 kB / 472.5 MB, free: 11.12 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004541/0.1024, allocations: 407 kB / 472.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1024, allocations: 8.031 kB / 472.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.1025, allocations: 34.75 kB / 472.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.268e-05/0.1025, allocations: 8.844 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001927/0.1027, allocations: 203.8 kB / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.1027, allocations: 384 / 473.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1027, allocations: 7.938 kB / 473.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.1029, allocations: 53.67 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.1029, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.1029, allocations: 0 / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1029, allocations: 4 kB / 473.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.465e-05/0.103, allocations: 12 kB / 473.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.1031, allocations: 173.7 kB / 473.4 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001572/0.1033, allocations: 62.48 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.957e-05/0.1034, allocations: 20.86 kB / 473.4 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.1034, allocations: 3.984 kB / 473.4 MB, free: 9.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001597/0.1036, allocations: 63.39 kB / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.1036, allocations: 0 / 473.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002601/0.1038, allocations: 97.52 kB / 473.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.1039, allocations: 51.41 kB / 473.7 MB, free: 9.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.104, allocations: 174.2 kB / 473.8 MB, free: 9.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.104, allocations: 25.7 kB / 473.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1041, allocations: 100.1 kB / 473.9 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1041, allocations: 11.81 kB / 474 MB, free: 9.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.318e-05/0.1042, allocations: 17.72 kB / 474 MB, free: 9.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.536e-05/0.1043, allocations: 322.8 kB / 474.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.895e-05/0.1043, allocations: 15.98 kB / 474.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.1044, allocations: 41.67 kB / 474.3 MB, free: 9.016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.424e-05/0.1045, allocations: 49.91 kB / 474.4 MB, free: 8.961 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1045, allocations: 3.938 kB / 474.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001465/0.1047, allocations: 81.52 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1047, allocations: 8 kB / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1047, allocations: 0 / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1047, allocations: 0 / 474.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.946e-05/0.1048, allocations: 15.97 kB / 474.5 MB, free: 8.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1048, allocations: 4 kB / 474.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.346e-05/0.1048, allocations: 7.891 kB / 474.5 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.663e-06/0.1048, allocations: 7.938 kB / 474.5 MB, free: 8.828 MB / 350.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 (7): * Single equations (assignments): 7 * 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.916e-05/0.1049, allocations: 122.6 kB / 474.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.114e-05/0.105, allocations: 7.906 kB / 474.6 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.105, allocations: 20.28 kB / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.105, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.105, allocations: 0 / 474.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.105, allocations: 4 kB / 474.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/0.1051, allocations: 181.6 kB / 474.9 MB, free: 8.438 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.1052, allocations: 4 kB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.799e-05/0.1052, allocations: 0 / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.1052, allocations: 4 kB / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1052, allocations: 0 / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1052, allocations: 0 / 474.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.1052, allocations: 3.984 kB / 474.9 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001814/0.1054, allocations: 112.9 kB / 475 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.1055, allocations: 89 kB / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.987e-05/0.1055, allocations: 0 / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.443e-05/0.1055, allocations: 128 / 475.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.691e-05/0.1056, allocations: 4 kB / 475.1 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.1056, allocations: 11.98 kB / 475.1 MB, free: 8.176 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.065e-05/0.1057, allocations: 132.7 kB / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1057, allocations: 0 / 475.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002152/0.1059, allocations: 20 kB / 475.2 MB, free: 8.027 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001176/0.1071, allocations: 0.9509 MB / 476.2 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.1072, allocations: 35.98 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1072, allocations: 0 / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.148e-05/0.1073, allocations: 32.05 kB / 476.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.1076, allocations: 26.86 kB / 476.3 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.1089, allocations: 1.45 MB / 477.7 MB, free: 5.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.1092, allocations: 0.7002 MB / 478.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.1092, allocations: 8.562 kB / 478.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.378e-05/0.1093, allocations: 31.42 kB / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1093, allocations: 0 / 478.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01779/0.1271, allocations: 2.948 MB / 481.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.182/7.309, allocations: 3.984 kB / 481.4 MB, free: 1.941 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches